cunumeric.broadcast_to#
- cunumeric.broadcast_to(arr: ndarray, shape: int | Tuple[int, ...], subok: bool = False) ndarray #
Broadcast an array to a new shape.
- Parameters:
- Returns:
broadcast – A readonly view on the original array with the given shape. It is typically not contiguous. Furthermore, more than one element of a broadcasted array may refer to a single memory location.
- Return type:
array
See also
- Availability:
Multiple GPUs, Multiple CPUs