def step_same_right

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

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

849def step_same_right(-operation: Elementwise.Operation, -plan: Shape.BroadcastPlan, -index: U32,
850  -left: Core.Dynamic, -right: Core.Dynamic, -output: Core.Tensor<Shape.output_shape(plan)>,
851  -after_left: Core.Dynamic, -after_right: Core.Dynamic, -after_output: Core.Tensor<Shape.output_shape(plan)>,
852  meaning: Elementwise.StepMeaning(operation, plan, index, Elementwise.State{left, right, output}, Elementwise.Continue{Elementwise.State{after_left, after_right, after_output}})) ->
853  Elementwise.SameSource(right, after_right):
854  (same, rest) = meaning
855  (right_same, result) = rest
856  right_same

Uses (11)

Used by (1)