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
consider np.matmul(a, b, out) with a.shape=(5, 2) and b.shape=(2, 2). The out array is out.shape=(5, 2), but the ufunc machinery attempts to broadcast a and b against out, which of course fails at broadcast(b, out).
So need to special-case matmul in the ufunc machinery.
The text was updated successfully, but these errors were encountered:
consider
np.matmul(a, b, out)
witha.shape=(5, 2)
andb.shape=(2, 2)
. The out array isout.shape=(5, 2)
, but the ufunc machinery attempts to broadcasta
andb
againstout
, which of course fails atbroadcast(b, out)
.So need to special-case matmul in the ufunc machinery.
The text was updated successfully, but these errors were encountered: