torch.nn.LazyConv1d
class LazyConv1d extends Modulenew LazyConv1d(out_channels: number, kernel_size: number, options: LazyConvOptions = {})
weight(Parameter | null)bias(Parameter | null)- readonly
out_channels(number) - readonly
kernel_size(number) - readonly
stride(number) - readonly
padding(number) - readonly
dilation(number) - readonly
padding_mode('zeros' | 'reflect' | 'replicate' | 'circular') - readonly
in_channels(number)
A torch.nn.Conv1d module with lazy initialization of the in_channels argument. The in_channels is inferred from the first input's shape.