logo

Trait neuronika::ConvolveWithGroups[][src]

pub trait ConvolveWithGroups<Inp, Ker, Pad: PaddingMode> {
    type Output;
    fn convolve_with_groups(
        input: Inp,
        kernel: Ker,
        stride: &[usize],
        dilation: &[usize],
        padding: &[usize],
        padding_mode: Pad,
        groups: usize
    ) -> Self::Output; }
Expand description

Grouped convolution.

Associated Types

The type of the grouped convolution’s result. See the differentiability arithmetic for more details.

Required methods

Applies a n-dimensional grouped convolution with the given parameters. n can be either 1, 2 or 3.

Implementors