legate.core.LogicalArray.broadcast#
- LogicalArray.broadcast(
- self,
- int32_t dim,
- size_t dim_size,
Broadcasts a unit-size dimension of the store. This call may block if the array is unbound.
- Parameters:
- Returns:
A new array where the chosen dimension is logically broadcasted.
- Return type:
- Raises:
RuntimeError – If the array or any of the sub-arrays is a list array
See also