Shortcuts

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)[源代码]

一个附带了用于权重的FakeQuantize模块的Conv3d模块,用于量化感知训练。

我们采用与 torch.nn.Conv3d 相同的接口,请参阅 https://pytorch.org/docs/stable/nn.html?highlight=conv3d#torch.nn.Conv3d 获取文档。

类似于torch.nn.Conv3d,并初始化了默认的FakeQuantize模块。

Variables

weight_fake_quant – 权重的伪量化模块

优云智算