broadcast method

(Layout, Layout) broadcast(
  1. Layout other
)

Returns a tuple with updated layouts for broadcasting. Throws an LayoutError if the shapes are not compatible.

Implementation

(Layout, Layout) broadcast(Layout other) => _broadcast(this, other);