you did not specify sizes of input…
this error means your weights sizes mismatch with input size.
your model expects input of size (N,*,13) where N is batch size.
I guess your input need some transpose or something alike to match the initialized weights size.