qkeras.qtools.quantized_operators.adder_impl
adder operation implementation.
Functions
|
convert a po2 quantizer to fixedpoint quantizer. |
Classes
|
adder for fixed point. |
|
floating point adder. |
abstract class for adder. |
|
|
adder for po2 type. |
|
adder between po2 and fixed point. |
- class qkeras.qtools.quantized_operators.adder_impl.FixedPointAdder(quantizer_1, quantizer_2)[source]
Bases:
IAdderImpladder for fixed point.
- class qkeras.qtools.quantized_operators.adder_impl.FloatingPointAdder(quantizer_1, quantizer_2)[source]
Bases:
IAdderImplfloating point adder.
- class qkeras.qtools.quantized_operators.adder_impl.IAdderImpl[source]
Bases:
ABCabstract class for adder.
- class qkeras.qtools.quantized_operators.adder_impl.Po2Adder(quantizer_1, quantizer_2)[source]
Bases:
IAdderImpladder for po2 type.
- class qkeras.qtools.quantized_operators.adder_impl.Po2FixedPointAdder(quantizer_1, quantizer_2)[source]
Bases:
IAdderImpladder between po2 and fixed point.
- qkeras.qtools.quantized_operators.adder_impl.po2_qbits_converter(po2_quantizer)[source]
convert a po2 quantizer to fixedpoint quantizer.
- Parameters:
po2_quantizer (IQuantizer)