dpnp.broadcast.shape¶
property
- property broadcast.shape¶
Shape of the broadcasted result.
- Returns:
- outtuple
A tuple containing the shape of the broadcasted result.
Examples
>>> import dpnp as np >>> x = np.array([[1], [2], [3]]) >>> y = np.array([4, 5, 6]) >>> np.broadcast(x, y).shape (3, 3)