home / github / issue_comments

Menu
  • Search all tables
  • GraphQL API

issue_comments: 1199776154

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/6845#issuecomment-1199776154 https://api.github.com/repos/pydata/xarray/issues/6845 1199776154 IC_kwDOAMm_X85HgyGa 2448579 2022-07-29T17:20:39Z 2022-07-29T17:20:39Z MEMBER

My understanding is that if array_function is working correctly you should never need to call cupy.round on your dataarray. Instead you should always be able to call np.round and trust that the array_function implementation will dispatch to cupy's equivalent of round automatically.

:+1: Question is whether we are expected to also make cp.round work.

Is there actually a case where we need the library-specific version of a numpy function to work too?

Someone's going to try it =) . At least we should document what's expected.

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