Skip to content

Implemented dpctl.tensor.unstack #1121

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
oleksandr-pavlyk opened this issue Mar 14, 2023 · 0 comments · Fixed by #1137
Closed

Implemented dpctl.tensor.unstack #1121

oleksandr-pavlyk opened this issue Mar 14, 2023 · 0 comments · Fixed by #1137
Assignees
Labels
enhancement New feature or request tensor

Comments

@oleksandr-pavlyk
Copy link
Contributor

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request tensor
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants