def natural_succeeded
bendtorch-core@0.1.0.0 · src/tensor/elementwise_PROOF.bend:721
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/elementwise.bend as Elementwise
721def natural_succeeded(-shape: Shape.Shape, -cursor: Nat, result: Elementwise.NaturalStep<shape, cursor>) -> Bool:
722 match result:
723 case Elementwise.NaturalStop{left, right, error}:
724 False{}
725 case Elementwise.NaturalContinue{state, index, exact}:
726 True{}