I don’t completely understand the shape information and what e.g. “we have two 1 * 10 tensors” means in this case.
However, based on your description and code snippet it seems you are not using any padding and since the filters have the same shape as the input, the result would be an elementwise multiplication and summation, wouldn’t it?
The trainable filters should be defined in the __init__, which seems to be the case in your code snippet (assuming the ... refer to `nn.Parameter(torch.tensor(…))  ).
Let me know, if I misunderstood the question.