Skip to content

dpctl.tensor.moveaxis does not work correctly #1173

@oleksandr-pavlyk

Description

@oleksandr-pavlyk
In [12]: np.moveaxis(np.empty((10,7,3)), (0, 1), (1, 2)).shape
Out[12]: (3, 10, 7)

In [13]: dpt.moveaxis(dpt.empty((10, 7,3)), (0, 1), (1, 2)).shape
Out[13]: (10, 3, 7)

Metadata

Metadata

Assignees

Labels

bugSomething isn't workingtensor

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions