The in_features argument you are passing defines the number of channels C in a [N, C, L] input or the sequence length L in an input with the shape [N, L].
It does not specify the batch size N.
For evaluation and testing you should call model.eval() which will apply the running stats to the samples and which will work with single samples as well.