8000 `sort` should only return the sorted input · Issue #70921 · pytorch/pytorch · GitHub
[go: up one dir, main page]

Skip to content
sort should only return the sorted input #70921
@pmeier

Description

@pmeier

The array API specification stipulates that torch.sort should only return the sorted input. Currently, we return a named tuple where the .values field corresponds to the specification of the array API.

cc @ezyang @gchanan @mruberry @rgommers @pmeier @asmeurer @leofang @AnirudhDagar @asi1024 @emcastillo @kmaehashi

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions

      0