@@ -261,6 +261,11 @@ def cumulative_sum(
261
261
boolean indicating whether to include the initial value (i.e., the
262
262
additive identity, zero) as the first value along the provided axis
263
263
in the output. Default: `False`.
264
+ out (Optional[usm_ndarray]):
265
+ the array into which the result is written.
266
+ The data type of `out` must match the expected shape and the
267
+ expected data type of the result or (if provided) `dtype`.
268
+ If `None` then a new array is returned. Default: `None`.
264
269
265
270
Returns:
266
271
usm_ndarray:
@@ -335,6 +340,11 @@ def cumulative_prod(
335
340
boolean indicating whether to include the initial value (i.e., the
336
341
additive identity, zero) as the first value along the provided
337
342
axis in the output. Default: `False`.
343
+ out (Optional[usm_ndarray]):
344
+ the array into which the result is written.
345
+ The data type of `out` must match the expected shape and the
346
+ expected data type of the result or (if provided) `dtype`.
347
+ If `None` then a new array is returned. Default: `None`.
338
348
339
349
Returns:
340
350
usm_ndarray:
@@ -410,6 +420,11 @@ def cumulative_logsumexp(
410
420
boolean indicating whether to include the initial value (i.e., the
411
421
additive identity, zero) as the first value along the provided axis
412
422
in the output. Default: `False`.
423
+ out (Optional[usm_ndarray]):
424
+ the array into which the result is written.
425
+ The data type of `out` must match the expected shape and the
426
+ expected data type of the result or (if provided) `dtype`.
427
+ If `None` then a new array is returned. Default: `None`.
413
428
414
429
Returns:
415
430
usm_ndarray:
0 commit comments