activations
fastforward.nn.activations.QuantizedActivation
#
fastforward.nn.activations.QuantizedRelu
#
Bases: ReLU
, QuantizedActivation
Applies quantized Relu.
Quantizers#
- input_quantizer: input activation before relu is applied.
- output_quantizer: output activation after relu is applied.
fastforward.nn.activations.QuantizedSilu
#
Bases: SiLU
, QuantizedActivation
Applies quantized Silu.
Quantizers#
- input_quantizer: input activation before silu is applied.
- output_quantizer: output activation after silu is applied.