def step
import bendtorch-core@0.1.0.0/src/autograd/gradient.bend as Gradientimport 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
62def step(-shape: Shape.Shape, +index: U32, state: State<shape>) -> Step<shape>:
63 State{contribution, total} = state
64 step_contribution(shape, index, total, Core.read_dynamic(contribution, index))
Uses (6)
Used by (6)
- bendtorch-core@0.1.0.0/src/autograd/gradient:decided
- bendtorch-core@0.1.0.0/src/autograd/gradient_PROOF:step_retains
- bendtorch-core@0.1.0.0/src/autograd/gradient_PROOF:decided_inv
- bendtorch-core@0.1.0.0/src/autograd/gradient_PROOF:decided_success
- bendtorch-core@0.1.0.0/src/autograd/gradient_PROOF:step_inv
- …