home / github / issue_comments

Menu
  • GraphQL API
  • Search all tables

issue_comments: 383754980

This data as json

html_url issue_url id node_id user created_at updated_at author_association body reactions performed_via_github_app issue
https://github.com/pydata/xarray/issues/2074#issuecomment-383754980 https://api.github.com/repos/pydata/xarray/issues/2074 383754980 MDEyOklzc3VlQ29tbWVudDM4Mzc1NDk4MA== 6815844 2018-04-23T23:32:33Z 2018-04-23T23:32:33Z MEMBER

@crusaderky , Thanks for the detailed benchmarking. Further note:

  • xr.dot uses tensordot if possible, as when I implemented dask did not have einsum. In the other cases, we use dask.atop with np.einsum.

In your example, bench(100, False, ['t'], '...i,...i') uses dask.tensordot, bench(100, True, ['t'], '...i,...i') uses np.einsum.

bench(100, True, [], ...i,...i->...i) also uses np.einsum. But I have no idea yet why dot(a, b, dims=[]) is faster than a * b.

{
    "total_count": 0,
    "+1": 0,
    "-1": 0,
    "laugh": 0,
    "hooray": 0,
    "confused": 0,
    "heart": 0,
    "rocket": 0,
    "eyes": 0
}
  316618290
Powered by Datasette · Queries took 0.808ms · About: xarray-datasette