@@ -516,6 +516,8 @@ def _get_accumulation_res_dt(a, dtype, _out):
516
516
Second input array, also expected to have a real-valued
517
517
floating-point data type.
518
518
Both inputs `x1` and `x2` can not be scalars at the same time.
519
+ If ``x1.shape != x2.shape``, they must be broadcastable to a common shape
520
+ (which becomes the shape of the output).
519
521
out : {None, dpnp.ndarray, usm_ndarray}, optional
520
522
Output array to populate.
521
523
Array must have the correct shape and the expected data type.
@@ -1198,6 +1200,8 @@ def cumlogsumexp(
1198
1200
x2 : {dpnp.ndarray, usm_ndarray, scalar}
1199
1201
Second input array, also expected to have a real-valued data type.
1200
1202
Both inputs `x1` and `x2` can not be scalars at the same time.
1203
+ If ``x1.shape != x2.shape``, they must be broadcastable to a common shape
1204
+ (which becomes the shape of the output).
1201
1205
out : {None, dpnp.ndarray, usm_ndarray}, optional
1202
1206
Output array to populate.
1203
1207
Array must have the correct shape and the expected data type.
@@ -1503,6 +1507,8 @@ def cumlogsumexp(
1503
1507
Second input array, also expected to have a real-valued
1504
1508
floating-point data type.
1505
1509
Both inputs `x1` and `x2` can not be scalars at the same time.
1510
+ If ``x1.shape != x2.shape``, they must be broadcastable to a common shape
1511
+ (which becomes the shape of the output).
1506
1512
out : {None, dpnp.ndarray, usm_ndarray}, optional
1507
1513
Output array to populate.
1508
1514
Array must have the correct shape and the expected data type.
@@ -1575,6 +1581,8 @@ def cumlogsumexp(
1575
1581
Second input array, also expected to have a real-valued
1576
1582
floating-point data type.
1577
1583
Both inputs `x1` and `x2` can not be scalars at the same time.
1584
+ If ``x1.shape != x2.shape``, they must be broadcastable to a common shape
1585
+ (which becomes the shape of the output).
1578
1586
out : {None, dpnp.ndarray, usm_ndarray}, optional
1579
1587
Output array to populate.
1580
1588
Array must have the correct shape and the expected data type.
0 commit comments