pub struct Conv { /* private fields */ }
Expand description
Implements convolution Operation that supports striding and padding.
It takes two arguments, kernel
, and input
. The output shape depends on striding, padding,
and eventually dialation (not yet implemented).
input ~ (Batch * Height * Width * Channels_in)
.kernel ~ (Kernel_height * Kernel_width * Channels_in * Channels_out)
.
Implementations§
Trait Implementations§
source§impl<'de> Deserialize<'de> for Conv
impl<'de> Deserialize<'de> for Conv
source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more