beatmup.nnets.ActivationFunction¶
- class beatmup.nnets.ActivationFunction¶
Activation function specification
Members:
DEFAULT : default activation: 0..1 bounded ReLU (identity clipped to 0..1 range)
BRELU6 : 0.167 times identity clipped to 0..1 range
SIGMOID_LIKE : a piecewise-linear sigmoid function approximation
- __init__(self: beatmup.nnets.ActivationFunction, value: int) None ¶
Methods
__init__
(self, value)Attributes
BRELU6
DEFAULT
SIGMOID_LIKE
value