ConvTranspose2d

class ConvTranspose2d(in_channels, out_channels, kernel_size, stride=1, padding=0, dilation=1, groups=1, bias=True, conv_mode='cross_correlation', compute_mode='default', dtype=None, **kwargs)[源代码]

Quantized version of ConvTranspose2d.

Applies a 2D transposed convolution over a quantized input tensor, used for inference only.

The parameter is same with ConvTranspose2d but dtype.

参数

dtype – data type of the output, should be qint8.

classmethod from_qat_module(qat_module)[源代码]

return a QuantizedModule instance converted from a QATModule instance.