execute the following code.
import torch
from torch import nn

a = torch.randn(32, 100, 1)  
m = nn.Conv1d(100, 100, 1) 
out = m(a)
print(out.size())
print(m)

See the link below for more clear explanation.
https://pytorch.org/docs/stable/nn.html#torch.nn.Conv1d 3.0k