LazyConv1d#
- class torch.nn.modules.conv.LazyConv1d(out_channels, kernel_size, stride=1, padding=0, dilation=1, groups=1, bias=True, padding_mode='zeros', device=None, dtype=None)[原始碼]#
一個具有
in_channels引數惰性初始化的torch.nn.Conv1d模組。Conv1d的in_channels引數將從input.size(1)推斷得出。將惰性初始化的屬性有 weight 和 bias。有關延遲模組及其限制的更多文件,請檢視
torch.nn.modules.lazy.LazyModuleMixin。