Skip to content

dpctl.tensor.asarray constructs array of type "int64" with list of bools as input #690

Closed
@densmirn

Description

@densmirn

Reproducer:

>>> import dpctl.tensor as dpt
>>> a = dpt.asarray([True, False])
>>> a.dtype
dtype('int64')

dpctl version:

>>> import dpctl
>>> dpctl.__version__
'0.11.0+25.g29c2cbc3'

Metadata

Metadata

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions