ConvReLU2d¶
- class torch.ao.nn.intrinsic.quantized.ConvReLU2d(in_channels, out_channels, kernel_size, stride=1, padding=0, dilation=1, groups=1, bias=True, padding_mode='zeros', device=None, dtype=None)[source]¶
ConvReLU2d 模块是 Conv2d 和 ReLU 的融合模块
我们采用与
torch.ao.nn.quantized.Conv2d
相同的接口。- 变量
torch.ao.nn.quantized.Conv2d (与...相同) –