def conversion_inv

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

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/tensor/core.bend as Core
import bendtorch-core@0.1.0.0/src/autograd/gradient.bend as Gradient

449def conversion_inv(+shape: Shape.Shape, -original: Core.Tensor<shape>, -contribution: Core.Dynamic, +limit: Nat, state: Gradient.State<shape>) ->
450  Holds<LoopInv(shape, original, contribution, limit, Gradient.conversion_error(shape, state))>:
451  Gradient.State{owner, total} = state
452  Holds{Unit{}}

Uses (9)

Used by (1)