def step

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

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

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)