r"""A fused :class:`~.Module` including :class:`~.module.ConvTranspose2d` and :func:`~.relu`. Could be replaced with :class:`~.QATModule` version :class:`~.qat.ConvTransposeRelu2d` using :func:`~.quantize.quantize_qat`.
| 819 | |
| 820 | |
| 821 | class ConvTransposeRelu2d(ConvTranspose2d): |
| 822 | r"""A fused :class:`~.Module` including :class:`~.module.ConvTranspose2d` and :func:`~.relu`. |
| 823 | Could be replaced with :class:`~.QATModule` version :class:`~.qat.ConvTransposeRelu2d` using :func:`~.quantize.quantize_qat`. |
| 824 | """ |
| 825 | |
| 826 | def forward(self, inp): |
| 827 | return relu(self.calc_conv_transpose2d(inp, self.weight, self.bias)) |
| 828 | |
| 829 | |
| 830 | class DeformableConv2d(_ConvNd): |