-
Notifications
You must be signed in to change notification settings - Fork 19.5k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Refactor
axis
logic across all backends and add support for multipl…
…e axes in `expand_dims` and `squeeze` (#19252) * Introduce `canonicalize_axis`, `standardize_axis_for_numpy` and `to_tuple_or_list` * Add support of multiple axes to `expand_dims` and `squeeze` * Fix the strings * Fix `pytest.warn` * Fix `ops.squeeze`
- Loading branch information
1 parent
0d28a01
commit 1665377
Showing
9 changed files
with
228 additions
and
111 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.