Performs the equivalent of
COO. Note that this function returns a new array instead of a view.
Parameters: shape (tuple[int]) – The shape to broadcast the data to. Returns: The broadcasted sparse array. Return type: COO Raises:
ValueError– If the operand cannot be broadcast to the given shape.
- NumPy equivalent function