The second example should fail, since the specified channels in bn1 (batch) do not equal the passed channels (1).
If you are dealing with a temporal signal in the shape [batch_size, channels, sequence_length], I would stick to nn.BatchNorm1d and just call model.eval() for the test/validation case.
Reshaping your data such that the batch size is in dim1, is most likely not what you want.