Skip to content
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
8 changes: 4 additions & 4 deletions spec/API_specification/creation_functions.md
Original file line number Diff line number Diff line change
Expand Up @@ -127,7 +127,7 @@ Returns an uninitialized array with the same `shape` as an input array `x`.

- **device**: _Optional\[ <device> ]_

- device on which to place the created array. If `device` is `None`, the default device must be used, not `x.device`. Default: `None`.
- device on which to place the created array. If `device` is `None`, the output array device must be inferred from `x`. Default: `None`.

#### Returns

Expand Down Expand Up @@ -247,7 +247,7 @@ Returns a new array filled with `fill_value` and having the same `shape` as an i

- **device**: _Optional\[ <device> ]_

- device on which to place the created array. If `device` is `None`, the default device must be used, not `x.device`. Default: `None`.
- device on which to place the created array. If `device` is `None`, the output array device must be inferred from `x`. Default: `None`.

#### Returns

Expand Down Expand Up @@ -370,7 +370,7 @@ Returns a new array filled with ones and having the same `shape` as an input arr

- **device**: _Optional\[ <device> ]_

- device on which to place the created array. If `device` is `None`, the default device must be used, not `x.device`. Default: `None`.
- device on which to place the created array. If `device` is `None`, the output array device must be inferred from `x`. Default: `None`.

#### Returns

Expand Down Expand Up @@ -478,7 +478,7 @@ Returns a new array filled with zeros and having the same `shape` as an input ar

- **device**: _Optional\[ <device> ]_

- device on which to place the created array. If `device` is `None`, the default device must be used, not `x.device`. Default: `None`.
- device on which to place the created array. If `device` is `None`, the output array device must be inferred from `x`. Default: `None`.

#### Returns

Expand Down