Module f32

Source
Expand description

containing the activation functions which need an f32 parameter and return a f32

Functionsยง

bstep
calculate the binary step to the given f32 number
gaussian
calculate the gaussian to the given f32 number
relu
calculate the rectified linear unit to the given f32 number
sigmoid
calculate the sigmoid to the given f32 number
silu
calculate the sigmoid linear unit to the given f32 number
tanh
calculate the tanh to the given f32 number