def plan_for

bendtorch-core@0.1.0.0 · src/tensor/elementwise.bend:645

import bendtorch-core@0.1.0.0/src/tensor/elementwise.bend as Elementwise
import Base
import bendtorch-core@0.1.0.0/src/shape/core.bend as Shape
import bendtorch-core@0.1.0.0/src/tensor/core.bend as Core

645def plan_for(left: Core.Dynamic, right: Core.Dynamic) -> Result<&2, &2, Shape.Error, Shape.BroadcastPlan>:
646  Core.Packed{left_shape, left_tensor} = left
647  Core.Packed{right_shape, right_tensor} = right
648  Shape.broadcast_checked(left_shape, right_shape)

Uses (5)

Used by (5)