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
where A is of shape [B, M, 1]. A is filled with ones.
Let's say B is of shape [B, 1, N].
in this case C would be of shape [B, M, N] .
Because A is filled with ones, C would actually just be broadcasted B.
C = broadcast(B) to shape [B, M, N]
This could be useful transformation for seqLenKV=1 in attention. It is unusual case but in general this transformation can be useful for further graph simplifications.