MathActivation.hard_sigmoid_value: def of stelliferous@0.0.2.0 Import: import stelliferous@0.0.2.0/math_activation.bend as MathActivation Lines 53-55 of stelliferous@0.0.2.0/math_activation.bend: https://jend.leeeet.dev/read.txt?path=stelliferous@0.0.2.0/math_activation.bend&start_line=53&end_line=55 import Base # PyTorch's order: relu6(x + 3) / 6 and x * relu6(x + 3) / 6. def hard_sigmoid_value(value: F32) -> F32: (relu6_value((value + 3.0 : F32)) / 6.0 : F32) Uses (4): https://jend.leeeet.dev/definition.txt?path=Base/base.bend&name=F32 https://jend.leeeet.dev/definition.txt?path=Base/base.bend&name=F32.add https://jend.leeeet.dev/definition.txt?path=Base/base.bend&name=F32.div https://jend.leeeet.dev/definition.txt?path=stelliferous@0.0.2.0/math_activation.bend&name=relu6_value