Closed
Description
>>> import array_api_strict as xp
>>> xp.reshape(xp.asarray([1,2]), -1)
Array([1, 2], dtype=array_api_strict.int64)
however, the Array API states that shape
must be strictly a tuple.
Metadata
Metadata
Assignees
Labels
No labels
>>> import array_api_strict as xp
>>> xp.reshape(xp.asarray([1,2]), -1)
Array([1, 2], dtype=array_api_strict.int64)
however, the Array API states that shape
must be strictly a tuple.