Skip to content

expand_dims() signature change (and slight doc fix) #331

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 2 commits into from
Nov 11, 2021
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions spec/API_specification/manipulation_functions.md
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ Joins a sequence of arrays along an existing axis.
```

(function-expand_dims)=
### expand_dims(x, /, *, axis)
### expand_dims(x, /, axis)

Expands the shape of an array by inserting a new axis (dimension) of size one at the position specified by `axis`.

Expand All @@ -57,7 +57,7 @@ Expands the shape of an array by inserting a new axis (dimension) of size one at

- **out**: _<array>_

- an expanded output array having the same data type and shape as `x`.
- an expanded output array having the same data type as `x`.

(function-flip)=
### flip(x, /, *, axis=None)
Expand Down