File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -229,7 +229,7 @@ def cumulative_sum(
229
229
Args:
230
230
x (usm_ndarray):
231
231
input array.
232
- axis (Optional[int, Tuple[int, ...] ]):
232
+ axis (Optional[int]):
233
233
axis along which cumulative sum must be computed.
234
234
If `None`, the sum is computed over the entire array.
235
235
If `x` is a one-dimensional array, providing an `axis` is optional;
@@ -308,7 +308,7 @@ def cumulative_prod(
308
308
Args:
309
309
x (usm_ndarray):
310
310
input array.
311
- axis (Optional[int, Tuple[int, ...] ]):
311
+ axis (Optional[int]):
312
312
axis along which cumulative product must be computed.
313
313
If `None`, the product is computed over the entire array.
314
314
If `x` is a one-dimensional array, providing an `axis` is optional;
@@ -388,7 +388,7 @@ def cumulative_logsumexp(
388
388
Args:
389
389
x (usm_ndarray):
390
390
input array.
391
- axis (Optional[int, Tuple[int, ...] ]):
391
+ axis (Optional[int]):
392
392
axis along which cumulative logsumexp must be computed.
393
393
If `None`, the logsumexp is computed over the entire array.
394
394
If `x` is a one-dimensional array, providing an `axis` is optional;
You can’t perform that action at this time.
0 commit comments