Skip to content

Implemented dpctl.tensor.unstack #1121

Closed
@oleksandr-pavlyk

Description

@oleksandr-pavlyk

This issue is to implement dpctl.tensor.unstack(x: array, /, *, axes : int = 0) -> Tuple[array, ...] to split an array in a sequence of arrays along the given axis.

The unstack function is being added to the array API spec, see data-apis/array-api#604

This function can be implemented in pure Python.

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions