dpnp.broadcast.values¶
property
- property broadcast.values¶
The input arrays broadcast against one another.
- Returns:
out -- A tuple of arrays which are views on the original input arrays.
- Return type:
Examples
>>> import dpnp as np >>> x = np.array([[1], [2], [3]]) >>> y = np.array([4, 5, 6]) >>> b = np.broadcast(x, y) >>> b.values[0] array([[1, 1, 1], [2, 2, 2], [3, 3, 3]]) >>> b.values[1] array([[4, 5, 6], [4, 5, 6], [4, 5, 6]])