Skip to content
class

ConvOpts

ConvOpts

Parameter bag for a convolution op (legacy compatibility path).

Bundles batch / channel counts together with shape, stride, padding, dilation, and grouping for an N-D convolution. The primary convolution code paths now use IBackend::ConvNdOpts plus explicit dimension arguments; this struct is retained for older callers that build a free-standing ConvOpts value.

See Also

IBackend::ConvNdOpts — modern, fixed-size parameter bag.

Attributes

ndimint
Number of spatial dimensions (1, 2, or 3).
Nint
Batch size.
C_in, C_outint
Input and output channel counts.
input_shape, kernel_shapeShape
Logical input feature-map and kernel-tensor shapes.
stride, padding, dilationstd::vector<int>
Per-spatial-dimension geometry.
groupsint
Channel grouping factor; 1 is standard convolution.
with_biasbool
Whether a bias term participates in the forward pass.