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
- torch.vecdot incorrectly allows broadcasting in the contracted dimensions
- The 2023 version of the spec updates the language to require axis to apply
before broadcasting, not after. The implementation for integer arguments is
updated to follow this behavior. Note that the spec only actually requires
axis to be negative, but we allow nonnegative axis too if x1 and x2 have the
required number of dimensions and those dimensions have same value, which
matches the numpy gufunc vecdot implementation and also the base
torch.vecdot implementation as far as I can tell.
0 commit comments