def reset

bendtorch-core@0.1.0.0 · src/autograd/gradient.bend:133

import bendtorch-core@0.1.0.0/src/autograd/gradient.bend as Gradient
import Base

133# Drops a held gradient: the next contribution moves in unchanged.
134def reset(slot: Slot) -> Slot:
135  Unset{}

Uses (1)

Used by (3)