practical-pytorch
practical-pytorch copied to clipboard
What does each S, B, N mean?
Hi, I am implementing seq2seq attention mechanism with using different input and output (not machine translation).
But when I apply your code into mine, there's dimension error.. so I want to know what S, B, N means.. so that I can figure out how to fix my code.
Thank you so much for reading this question. Hope that I can get a reply Thanks,
Hyeseon
In general, I thought it would be
S: sequence length B: batch size N: embedding size or hidden layer size (i.e. number of RNN cells in a hidden layer)