Conv2d¶
- class Conv2d(in_channels, out_channels, kernel_size, stride=1, padding=0, dilation=1, groups=1, conv_mode='cross_correlation', compute_mode='default', dtype=None, padding_mode='zeros', **kwargs)[source]¶
Quantized version of
Conv2d
.Applies a 2D convolution over a quantized input tensor, used for inference only.
The parameter is same with
Conv2d
.- classmethod from_qat_module(qat_module)[source]¶
Return a
QuantizedModule
instance converted from aQATModule
instance.