def leaky

stelliferous@0.0.2.0 · math_activation.bend:37

import stelliferous@0.0.2.0/math_activation.bend as MathActivation
import Base

37def leaky(slope: F32,+value: F32) -> F32:
38  Bool.pick(F32,F32.is_lt(value,0.0),(value * slope : F32),value)

Uses (4)

Used by (1)