Skip to content

change supported arguments for parameter dim in squeeze #70924

@pmeier

Description

@pmeier

The array API specification stipulates that

  1. dim should accept a tuple of int's indicating all dimensions that should be squeezed.
  2. dim should have no default value. Currently, not passing anything will squeeze all singleton dimension.

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    module: bc-breakingRelated to a BC-breaking changemodule: python array apiIssues related to the Python Array APItopic: bc breakingtopic categorytriagedThis 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