def relu_d

bend-ml-autograd@0.1.1.0 · main.bend:178

import bend-ml-autograd@0.1.1.0/main.bend as BendMlAutograd
import Base

178# local derivative of relu: 1 if the input > 0, else 0
179def relu_d(+x: F32) -> F32:
180  mask2(F32.is_gt(x, 0.0))

Uses (3)

Used by (2)