Skip to content

Commit 5b4d4ae

Browse files
committed
Update specification for empty, ones, zeros
Addresses comments in data-apisgh-85 and data-apisgh-107
1 parent 042a99a commit 5b4d4ae

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

spec/API_specification/creation_functions.md

+3-3
Original file line numberDiff line numberDiff line change
@@ -86,7 +86,7 @@ Convert the input to an array.
8686

8787

8888
(function-empty)=
89-
### empty(shape, /, *, dtype=None, device=None)
89+
### empty(shape, *, dtype=None, device=None)
9090

9191
Returns an uninitialized array having a specified `shape`.
9292

@@ -321,7 +321,7 @@ Returns coordinate matrices from coordinate vectors.
321321
The returned arrays must have a numeric data type determined by {ref}`type-promotion`.
322322
323323
(function-ones)=
324-
### ones(shape, /, *, dtype=None, device=None)
324+
### ones(shape, *, dtype=None, device=None)
325325
326326
Returns a new array having a specified `shape` and filled with ones.
327327
@@ -371,7 +371,7 @@ Returns a new array filled with ones and having the same `shape` as an input arr
371371
- an array having the same shape as `x` and filled with ones.
372372
373373
(function-zeros)=
374-
### zeros(shape, /, *, dtype=None, device=None)
374+
### zeros(shape, *, dtype=None, device=None)
375375
376376
Returns a new array having a specified `shape` and filled with zeros.
377377

0 commit comments

Comments
 (0)