Skip to content

linspace should support an endpoint parameter #70919

@pmeier

Description

@pmeier

The array API specification stipulates that torch.linspace should have a endpoint: bool = True parameter. If False, the right bound should be exclusive, i.e. [start, end) rather than [start, end].

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    module: python array apiIssues related to the Python Array APImodule: tensor creationtriagedThis issue has been looked at a team member, and triaged and prioritized into an appropriate module

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions