chainerx.broadcast_to¶
-
chainerx.
broadcast_to
(array, shape)¶ Broadcasts an array to a given shape.
- Parameters
array (ndarray) – Array to broadcast.
shape (tuple of ints) – The shape of the desired array.
- Returns
Broadcasted view.
- Return type
Note
During backpropagation, this function propagates the gradient of the output array to the input array
array
.See also