data-apis / array-api-strict

Strict implementation of the Python array API (previously numpy.array_api)
http://data-apis.org/array-api-strict/
Other
7 stars 4 forks source link

Add a mode that disables data-dependent shapes #7

Closed asmeurer closed 4 months ago

asmeurer commented 7 months ago

Currently we support all the behaviors that require data dependent shapes (currently just the unique_* functions, nonzero, and boolean indexing).

It would be useful to have some sort of mode to disable these so people could test against libraries that don't have them.