-
Notifications
You must be signed in to change notification settings - Fork 54
feat: allow subsets of dtypes, allow device-dependent dtype support #1005
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: main
Are you sure you want to change the base?
Changes from 2 commits
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -5,7 +5,7 @@ Data Types | |
|
|
||
| Array API specification for supported data types. | ||
|
|
||
| A conforming implementation of the array API standard must provide and support | ||
| A conforming implementation of the array API standard should provide and support | ||
| the following data types ("dtypes") in its array object, and as data type | ||
| objects in its main namespace under the specified names: | ||
|
|
||
|
|
@@ -39,6 +39,9 @@ objects in its main namespace under the specified names: | |
| | complex128 | Double-precision (128-bit) complex floating-point number whose real and imaginary components must be IEEE 754 double-precision (64-bit) binary floating-point numbers (see IEEE 754-2019). | | ||
| +--------------+--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+ | ||
|
|
||
| If a library only supports a subset of data types, it must support at least one data type | ||
| from each :ref:`category <data-type-categories>`. | ||
|
Member
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. I don't think There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. That would be enough for scikit-learn at least.
Member
Author
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Updated to the suggestion.
ev-br marked this conversation as resolved.
Outdated
|
||
|
|
||
| Data type objects must have the following methods (no attributes are required): | ||
|
|
||
| .. | ||
|
|
||
Uh oh!
There was an error while loading. Please reload this page.