def step_continued

bendtorch-core@0.1.0.0 · src/autograd/gradient_PROOF.bend:156

import bendtorch-core@0.1.0.0/src/autograd/gradient_PROOF.bend as GradientPROOF
import Base
import bendtorch-core@0.1.0.0/src/shape/core.bend as Shape
import bendtorch-core@0.1.0.0/src/autograd/gradient.bend as Gradient

156def step_continued(-shape: Shape.Shape, result: Gradient.Step<shape>) -> Bool:
157  match result:
158    case Gradient.Stop{contribution, total, error}:
159      False{}
160    case Gradient.Continue{state}:
161      True{}

Uses (3)

Used by (6)