def step_sources_reify

bendtorch-core@0.1.0.0 · src/tensor/elementwise_PROOF.bend:245

import bendtorch-core@0.1.0.0/src/tensor/elementwise_PROOF.bend as ElementwisePROOF
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
import bendtorch-core@0.1.0.0/src/tensor/elementwise_totality.bend as Totality

245def step_sources_reify(-shape: Shape.Shape, -left: Core.Dynamic, -right: Core.Dynamic, -result: Elementwise.Step<shape>,
246  -model: StepSources<shape, left, right, result>) -> StepSources<shape, left, right, result>:
247  StepSources{
248    {\{StepSources: left_same => right_same => left_same} : StepSources<shape, left, right, result> -> Totality.SameSource(left, step_left_owner(shape, result))}(model),
249    {\{StepSources: left_same => right_same => right_same} : StepSources<shape, left, right, result> -> Totality.SameSource(right, step_right_owner(shape, result))}(model)}

Uses (7)

Used by (2)