Skip to content

Commit d3e124a

Browse files
authored
Merge pull request #1669 from IntelPython/update-axis-docstring-in-accumulate-functions
Update docstring description of `axis` keyword in cumulative functions
2 parents 1243edc + 05426b5 commit d3e124a

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

dpctl/tensor/_accumulation.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -229,7 +229,7 @@ def cumulative_sum(
229229
Args:
230230
x (usm_ndarray):
231231
input array.
232-
axis (Optional[int, Tuple[int, ...]]):
232+
axis (Optional[int]):
233233
axis along which cumulative sum must be computed.
234234
If `None`, the sum is computed over the entire array.
235235
If `x` is a one-dimensional array, providing an `axis` is optional;
@@ -308,7 +308,7 @@ def cumulative_prod(
308308
Args:
309309
x (usm_ndarray):
310310
input array.
311-
axis (Optional[int, Tuple[int, ...]]):
311+
axis (Optional[int]):
312312
axis along which cumulative product must be computed.
313313
If `None`, the product is computed over the entire array.
314314
If `x` is a one-dimensional array, providing an `axis` is optional;
@@ -388,7 +388,7 @@ def cumulative_logsumexp(
388388
Args:
389389
x (usm_ndarray):
390390
input array.
391-
axis (Optional[int, Tuple[int, ...]]):
391+
axis (Optional[int]):
392392
axis along which cumulative logsumexp must be computed.
393393
If `None`, the logsumexp is computed over the entire array.
394394
If `x` is a one-dimensional array, providing an `axis` is optional;

0 commit comments

Comments
 (0)