hls4ml.converters.keras_v3.hgq2 package
Submodules
hls4ml.converters.keras_v3.hgq2.einsum module
hls4ml.converters.keras_v3.hgq2.multi_head_attention module
hls4ml.converters.keras_v3.hgq2.softmax module
- class hls4ml.converters.keras_v3.hgq2.softmax.QSoftmaxHandler
Bases:
QLayerHandler
- handle(layer: hgq.layers.QSoftmax, in_tensors: Sequence[KerasTensor], out_tensors: Sequence[KerasTensor])
- handles = ('hgq.layers.softmax.QSoftmax',)
- hls4ml.converters.keras_v3.hgq2.softmax.fixed_quantizer_to_hls4ml_t(q: FixedPointQuantizerBase, take_max=False)