You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Is the input shape of MultiHeadAttention [batch_size, sequence_length, embedding_size]? Or is it the same as nn.MultiheadAttention where the input shape must be [sequence_length, batch_size, embedding_size]
The text was updated successfully, but these errors were encountered:
Is the input shape of
MultiHeadAttention
[batch_size, sequence_length, embedding_size]? Or is it the same asnn.MultiheadAttention
where the input shape must be [sequence_length, batch_size, embedding_size]The text was updated successfully, but these errors were encountered: