Chapter 3 MultiHeadAttention boolean mask #34
-
Are the double unsqueezes necessary? Won't |
Beta Was this translation helpful? Give feedback.
Answered by
rasbt
Feb 29, 2024
Replies: 1 comment
-
You are right, the double-unsqueeze is redundant. This must have been a leftover from some previous code I had where this was necessary. Thanks!! |
Beta Was this translation helpful? Give feedback.
0 replies
Answer selected by
rasbt
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
You are right, the double-unsqueeze is redundant. This must have been a leftover from some previous code I had where this was necessary. Thanks!!