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
Following on #11074 I would like to see operations like np.tensordot develop a protocol that could be implemented by duck-array libraries like dask, cupy, or sparse
In [1]: importnumpyasnpIn [2]: importdask.arrayasdaIn [3]: x=da.ones((5, 5), chunks=(2, 2))
In [4]: np.tensordot(x, x) # I would like for this to be a dask.arrayOut[4]: array(25.)
The text was updated successfully, but these errors were encountered:
mrocklin
changed the title
tensordot protocol
A protocol for tensordot
May 21, 2018
Uh oh!
There was an error while loading. Please reload this page.
Following on #11074 I would like to see operations like
np.tensordot
develop a protocol that could be implemented by duck-array libraries like dask, cupy, or sparseThe text was updated successfully, but these errors were encountered: