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)[source][source]¶
一個附加了權重 FakeQuantize 模組的 Conv3d 模組,用於量化感知訓練。
我們採用與 torch.nn.Conv3d 相同的介面,請參閱 https://pytorch.dev.org.tw/docs/stable/nn.html?highlight=conv3d#torch.nn.Conv3d 以取得文件。
與 torch.nn.Conv3d 類似,FakeQuantize 模組初始化為預設值。
- 變數
weight_fake_quant – 權重的 fake quant 模組