ConvReLU2d
- class torch.ao.nn.intrinsic.qat.ConvReLU2d(in_channels, out_channels, kernel_size, stride=1, padding=0, dilation=1, groups, , ,
A ConvReLU2d module is a fused module of Conv2d and ReLU, attached with FakeQuantize modules for weight for quantization aware training.
We combined the interface of Conv2d and
BatchNorm2d.
weight_fake_quant – fake quant module for weight
Performs forward pass through fused Conv2d and ReLU.
Creates a QAT module from a floating point module.