Conv3d#
- class torch.ao.nn.qat.Conv3d(in_channels, out_channels, kernel_size, stride=1, padding=0, dilation=1, groups=1, bias=True, padding_mode='zeros', qconfig=None, device=None, dtype=None)[原始碼]#
一個 Conv3d 模組,附加了用於權重 FakeQuantize 模組,用於量化感知訓練。
我們採用與 torch.nn.Conv3d 相同的介面,請參閱 https://pytorch.com.tw/docs/stable/nn.html?highlight=conv3d#torch.nn.Conv3d 獲取文件。
與 torch.nn.Conv3d 類似,但 FakeQuantize 模組已初始化為預設值。
- 變數
weight_fake_quant – 權重的 fake quant 模組