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.asarray raises TypeError with empty list as input #687
Traceback (most recent call last):
File "<string>", line 1, in <module>
File "/localdisk/work/denissmi/dpctl/dpctl/tensor/_ctors.py", line 382, in asarray
_, dt, devs = _array_info_sequence(obj)
File "/localdisk/work/denissmi/dpctl/dpctl/tensor/_ctors.py", line 66, in _array_info_sequence
return (n,) + dim, dt, device
TypeError: can only concatenate tuple (not "NoneType") to tuple
Activity