def step_same_left

bendtorch-core@0.1.0.0 · src/tensor/core_PROOF.bend:841

import bendtorch-core@0.1.0.0/src/tensor/core_PROOF.bend as CorePROOF
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
import bendtorch-core@0.1.0.0/src/tensor/elementwise.bend as Elementwise

841def step_same_left(-operation: Elementwise.Operation, -plan: Shape.BroadcastPlan, -index: U32,
842  -left: Core.Dynamic, -right: Core.Dynamic, -output: Core.Tensor<Shape.output_shape(plan)>,
843  -after_left: Core.Dynamic, -after_right: Core.Dynamic, -after_output: Core.Tensor<Shape.output_shape(plan)>,
844  meaning: Elementwise.StepMeaning(operation, plan, index, Elementwise.State{left, right, output}, Elementwise.Continue{Elementwise.State{after_left, after_right, after_output}})) ->
845  Elementwise.SameSource(left, after_left):
846  (same, rest) = meaning
847  same

Uses (11)

Used by (1)