Skip to content

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

Closed

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'

Activity

  1. added a commit that references this issue on Nov 29, 2021
    5f279d6
  2. added a commit that references this issue on Nov 30, 2021
    d9cfb43
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

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