GradientLAWS.accumulated: def of bendtorch-core@0.1.0.0 Import: import bendtorch-core@0.1.0.0/src/autograd/gradient_LAWS.bend as GradientLAWS Lines 82-87 of bendtorch-core@0.1.0.0/src/autograd/gradient_LAWS.bend: https://jend.leeeet.dev/read.txt?path=bendtorch-core@0.1.0.0/src/autograd/gradient_LAWS.bend&start_line=82&end_line=87 import Base import bendtorch-core@0.1.0.0/src/autograd/gradient.bend as Gradient def accumulated(outcome: Gradient.Outcome) -> Bool: match outcome: case Gradient.Accumulated{after}: True{} case Gradient.Refused{after, returned, error}: False{} Uses (2): https://jend.leeeet.dev/definition.txt?path=Base/base.bend&name=Bool https://jend.leeeet.dev/definition.txt?path=bendtorch-core@0.1.0.0/src/autograd/gradient.bend&name=Outcome