LazyConvTranspose1d¶
- class torch.nn.LazyConvTranspose1d(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.ConvTranspose1d
模块,具有in_channels
参数的延迟初始化。ConvTranspose1d
的in_channels
参数从input.size(1)
推断得出。将延迟初始化的属性是 weight 和 bias。有关延迟模块及其限制的更多文档,请查看
torch.nn.modules.lazy.LazyModuleMixin
。- 参数
- cls_to_become[source]¶
ConvTranspose1d
的别名