You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
dpctl.tensor.nonzero returns an incorrect array dtype in dpctl=0.14.6dev1 [win] #1335
dpctl.tensor.nonzero() in dpctl<=0.14.5 used to return a tuple of arrays with int64 type.
Now in dpctl=0.14.6dev1nonzero() returns a tuple of arrays with int32 type.
This behavior was found only on windows OS.
changed the title [-]dpctl.tensort.nonzero returns an incorrect array dtype in dpctl=0.14.6dev1 [win][/-][+]dpctl.tensor.nonzero returns an incorrect array dtype in dpctl=0.14.6dev1 [win][/+]on Aug 11, 2023
Activity
[-]dpctl.tensort.nonzero returns an incorrect array dtype in dpctl=0.14.6dev1 [win][/-][+]dpctl.tensor.nonzero returns an incorrect array dtype in dpctl=0.14.6dev1 [win][/+]oleksandr-pavlyk commentedon Aug 11, 2023
The array API spec for
xp.nonzerostates:I misread this as default integral data type (which is indeed 32-bit on Windows). I will fix this promptly,
dpt.nonzero should use default index type