LazyConvTranspose2d¶
- class torch.nn.LazyConvTranspose2d(out_channels, kernel_size, stride=1, padding=0, output_padding=0, groups=1, bias=True, dilation=1, padding_mode='zeros', device=None, dtype=None)[source][source]¶
一個
torch.nn.ConvTranspose2d模組,其in_channels引數採用惰性初始化。ConvTranspose2d的in_channels引數從input.size(1)推斷。將被惰性初始化的屬性是 weight 和 bias。請檢視
torch.nn.modules.lazy.LazyModuleMixin,獲取更多關於惰性模組及其限制的文件。