Skip to content

Commit

Permalink
eye doc-string corrections
Browse files Browse the repository at this point in the history
  • Loading branch information
ndgrigorian committed Sep 13, 2022
1 parent 47a194e commit 31e5f4a
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions dpctl/tensor/_ctors.py
Original file line number Diff line number Diff line change
Expand Up @@ -1058,12 +1058,12 @@ def eye(
Args:
n_rows: number of rows in the output array.
n_cols (optional): number of columns in the output array. If None,
n_cols = n_rows. Default: `None`.
n_cols = n_rows. Default: `None`.
k: index of the diagonal, with 0 as the main diagonal.
A positive value of k is a superdiagonal, a negative value
is a subdiagonal.
Raises `TypeError` if k is not an integer.
Default: `0`.
A positive value of k is a superdiagonal, a negative value
is a subdiagonal.
Raises `TypeError` if k is not an integer.
Default: `0`.
dtype (optional): data type of the array. Can be typestring,
a `numpy.dtype` object, `numpy` char string, or a numpy
scalar type. Default: None
Expand Down

0 comments on commit 31e5f4a

Please sign in to comment.