dpnp.tensor.broadcast_arrays

dpnp.tensor.broadcast_arrays(*args)[source]

Broadcasts one or more dpnp.tensor.usm_ndarrays against one another.

Parameters:

arrays (usm_ndarray) -- An arbitrary number of arrays to be broadcasted.

Returns:

out -- A list of broadcasted arrays. Each array must have the same shape. Each array must have the same dtype, device and usm_type attributes as its corresponding input array.

Return type:

list of usm_ndarrays