mltk.core.TfliteFullyConnectedParams¶
- class TfliteFullyConnectedParams[source]¶
Calculated Full Connected Parameters
Properties
Input quantization offset (i.e.
Output multiplier for its quantization scaler
Output quantization offset (i.e.
Output shift for its quantization scaler
Fused activation max value
Fused activation min value
Weight (aka filters) quantization offset (i.e.
Methods
Calculate the parameters for the given layer
- __init__(input_offset=0, weights_offset=0, output_offset=0, output_multiplier=0, output_shift=0, quantized_activation_min=0, quantized_activation_max=0)¶
- Parameters:
input_offset (int) –
weights_offset (int) –
output_offset (int) –
output_multiplier (int) –
output_shift (int) –
quantized_activation_min (int) –
quantized_activation_max (int) –
- Return type:
None
- input_offset: int = 0¶
Input quantization offset (i.e. zero point)
- weights_offset: int = 0¶
Weight (aka filters) quantization offset (i.e. zero point)
- output_offset: int = 0¶
Output quantization offset (i.e. zero point)
- output_multiplier: int = 0¶
Output multiplier for its quantization scaler
- output_shift: int = 0¶
Output shift for its quantization scaler
- quantized_activation_min: int = 0¶
Fused activation min value
- quantized_activation_max: int = 0¶
Fused activation max value