快捷方式

ConvBnReLU3d

class torch.ao.nn.intrinsic.qat.ConvBnReLU3d(in_channels, out_channels, kernel_size, stride=1, padding=0, dilation=1, groups=1, bias=None, padding_mode='zeros', eps=1e-05, momentum=0.1, freeze_bn=False, qconfig=None)[source][source]

A ConvBnReLU3d 模組是一個融合了 Conv3d、BatchNorm3d 和 ReLU 的模組,並附加了用於權重的 FakeQuantize 模組,用於量化感知訓練 (quantization aware training)。

我們結合了 torch.nn.Conv3dtorch.nn.BatchNorm3dtorch.nn.ReLU 的介面。

torch.nn.Conv3d 類似,但 FakeQuantize 模組已初始化為預設值。

變數

weight_fake_quant – 用於權重的 fake quant 模組

文件

Access comprehensive developer documentation for PyTorch

View Docs

Tutorials

Get in-depth tutorials for beginners and advanced developers

View Tutorials

Resources

Find development resources and get your questions answered

View Resources