| FazBrowse GitHub Viewer | Trending | | Home |
| Tools: [Download Repo ZIP] [Original HTTPS Page] |
There was a problem hiding this comment.
This PR adds device validation for NumPy and Dask functions by replacing manual device checks with a shared helper function.
Copilot reviewed 3 out of 3 changed files in this pull request and generated 1 comment.
| File | Description |
|---|---|
| array_api_compat/numpy/_aliases.py | Replaces manual device validation with _helpers._check_device call. |
| array_api_compat/dask/array/_aliases.py | Adds _helpers._check_device call in multiple functions. |
| array_api_compat/common/_helpers.py | Refactors _check_device to support both NumPy and Dask device checks. |
Sorry, something went wrong.
| Back | FazBrowse Home | New Git URL |
Salvaged from #293.