Skip to content

Commit 09acbab

Browse files
committed
Update specification for eye
This is useful/needed because `M` is not a descriptive name and that name does not match between different array libraries.
1 parent 87dd193 commit 09acbab

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

spec/API_specification/creation_functions.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -136,7 +136,7 @@ Returns an uninitialized array with the same `shape` as an input array `x`.
136136
- an array having the same shape as `x` and containing uninitialized data.
137137

138138
(function-eye)=
139-
### eye(N, /, *, M=None, k=0, dtype=None, device=None)
139+
### eye(N, M=None, /, *, k=0, dtype=None, device=None)
140140

141141
Returns a two-dimensional array with ones on the `k`th diagonal and zeros elsewhere.
142142

0 commit comments

Comments
 (0)