law gradient_unset_zeros

bendtorch-core@0.1.0.0 · src/autograd/gradient_LAWS.bend:110

import bendtorch-core@0.1.0.0/src/autograd/gradient_LAWS.bend as GradientLAWS
import Base
import bendtorch-core@0.1.0.0/src/shape/core.bend as Shape
import bendtorch-core@0.1.0.0/src/autograd/gradient.bend as Gradient

110# A slot that never received a contribution reads as zeros of its shape.
111law gradient_unset_zeros:
112  for +shape: Shape.Shape
113  ZerosModel<shape, Gradient.gradient(shape, Gradient.Unset{})>

Uses (7)

Used by (0)

No other definition uses this definition.