-
Notifications
You must be signed in to change notification settings - Fork 27.7k
change supported arguments for parameter dim in squeeze #70924
Copy link
Copy link
Open
Labels
module: bc-breakingRelated to a BC-breaking changeRelated to a BC-breaking changemodule: python array apiIssues related to the Python Array APIIssues related to the Python Array APItopic: bc breakingtopic categorytopic categorytriagedThis issue has been looked at a team member, and triaged and prioritized into an appropriate moduleThis issue has been looked at a team member, and triaged and prioritized into an appropriate module
Metadata
Metadata
Assignees
Labels
module: bc-breakingRelated to a BC-breaking changeRelated to a BC-breaking changemodule: python array apiIssues related to the Python Array APIIssues related to the Python Array APItopic: bc breakingtopic categorytopic categorytriagedThis issue has been looked at a team member, and triaged and prioritized into an appropriate moduleThis issue has been looked at a team member, and triaged and prioritized into an appropriate module
The array API specification stipulates that
dimshould accept a tuple ofint's indicating all dimensions that should be squeezed.dimshould 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