pub fn conv2d<R: JitRuntime, E: FloatElement>(
input: JitTensor<R>,
weight: JitTensor<R>,
bias: Option<JitTensor<R>>,
options: ConvOptions<2>,
strategy: Conv2dStrategy,
) -> Result<JitTensor<R>, ConvLaunchError>Expand description
Perform a 2D convolution with the given strategy
input- The input feature mapweight- The weights (filter) applied to each kernelbias- The bias added to each channeloptions- The options to use for the convolutionstrategy- The convolution algorithm to use. Autotune will pick the fastest available option.