Skip to content

repeat function return incorrect result for axis 0 #1432

Closed
@npolina4

Description

@npolina4

Found in #1427

>>> import dpctl.tensor as dpt
>>> a = dpt.asarray([1, 2, 3, 4])
>>> dpt.repeat(a, 2, 0)
usm_ndarray([1, 1, 1, 1, 1, 1, 1, 1])
#expected result
#usm_ndarray([1, 1, 2, 2, 3, 3, 4, 4])

Metadata

Metadata

Assignees

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