@@ -149,7 +149,7 @@ def sum(x, axis=None, dtype=None, keepdims=False):
149
149
Args:
150
150
x (usm_ndarray):
151
151
input array.
152
- axis (Optional[int, Tuple[int,...]]):
152
+ axis (Optional[int, Tuple[int, ...]]):
153
153
axis or axes along which sums must be computed. If a tuple
154
154
of unique integers, sums are computed over multiple axes.
155
155
If `None`, the sum is computed over the entire array.
@@ -210,10 +210,10 @@ def prod(x, axis=None, dtype=None, keepdims=False):
210
210
Args:
211
211
x (usm_ndarray):
212
212
input array.
213
- axis (Optional[int, Tuple[int,...]]):
214
- axis or axes along which sums must be computed. If a tuple
215
- of unique integers, sums are computed over multiple axes.
216
- If `None`, the sum is computed over the entire array.
213
+ axis (Optional[int, Tuple[int, ...]]):
214
+ axis or axes along which products must be computed. If a tuple
215
+ of unique integers, products are computed over multiple axes.
216
+ If `None`, the product is computed over the entire array.
217
217
Default: `None`.
218
218
dtype (Optional[dtype]):
219
219
data type of the returned array. If `None`, the default data
@@ -237,7 +237,7 @@ def prod(x, axis=None, dtype=None, keepdims=False):
237
237
where input array `x` is allocated.
238
238
If the data type (either specified or resolved) differs from the
239
239
data type of `x`, the input array elements are cast to the
240
- specified data type before computing the sum . Default: `None`.
240
+ specified data type before computing the product . Default: `None`.
241
241
keepdims (Optional[bool]):
242
242
if `True`, the reduced axes (dimensions) are included in the result
243
243
as singleton dimensions, so that the returned array remains
@@ -314,7 +314,7 @@ def max(x, axis=None, keepdims=False):
314
314
Args:
315
315
x (usm_ndarray):
316
316
input array.
317
- axis (Optional[int, Tuple[int,...]]):
317
+ axis (Optional[int, Tuple[int, ...]]):
318
318
axis or axes along which maxima must be computed. If a tuple
319
319
of unique integers, the maxima are computed over multiple axes.
320
320
If `None`, the max is computed over the entire array.
@@ -342,7 +342,7 @@ def min(x, axis=None, keepdims=False):
342
342
Args:
343
343
x (usm_ndarray):
344
344
input array.
345
- axis (Optional[int, Tuple[int,...]]):
345
+ axis (Optional[int, Tuple[int, ...]]):
346
346
axis or axes along which minima must be computed. If a tuple
347
347
of unique integers, the minima are computed over multiple axes.
348
348
If `None`, the min is computed over the entire array.
0 commit comments