@@ -66,11 +66,11 @@ class UniqueInverseResult(NamedTuple):
66
66
def unique_values (x : dpt .usm_ndarray ) -> dpt .usm_ndarray :
67
67
"""unique_values(x)
68
68
69
- Returns the unique elements of an input array x .
69
+ Returns the unique elements of an input array `x` .
70
70
71
71
Args:
72
72
x (usm_ndarray):
73
- input array. The input with more than one dimension is flattened.
73
+ input array. Inputs with more than one dimension are flattened.
74
74
Returns:
75
75
usm_ndarray
76
76
an array containing the set of unique elements in `x`. The
@@ -152,7 +152,7 @@ def unique_counts(x: dpt.usm_ndarray) -> UniqueCountsResult:
152
152
153
153
Args:
154
154
x (usm_ndarray):
155
- input array. The input with more than one dimension is flattened.
155
+ input array. Inputs with more than one dimension are flattened.
156
156
Returns:
157
157
tuple[usm_ndarray, usm_ndarray]
158
158
a namedtuple `(values, counts)` whose
@@ -278,7 +278,7 @@ def unique_inverse(x):
278
278
279
279
Args:
280
280
x (usm_ndarray):
281
- input array. The input with more than one dimension is flattened.
281
+ input array. Inputs with more than one dimension are flattened.
282
282
Returns:
283
283
tuple[usm_ndarray, usm_ndarray]
284
284
a namedtuple `(values, inverse_indices)` whose
@@ -435,7 +435,7 @@ def unique_all(x: dpt.usm_ndarray) -> UniqueAllResult:
435
435
436
436
Args:
437
437
x (usm_ndarray):
438
- input array. The input with more than one dimension is flattened.
438
+ input array. Inputs with more than one dimension are flattened.
439
439
Returns:
440
440
tuple[usm_ndarray, usm_ndarray, usm_ndarray, usm_ndarray]
441
441
a namedtuple `(values, indices, inverse_indices, counts)` whose
0 commit comments