TensorFlow APIs - 1.4.1 English

Vitis AI RNN User Guide (UG1563)

Document ID
UG1563
Release Date
2021-12-03
Version
1.4.1 English

The APIs are located in the nndct/tensorflow/tf_nndct/quantization/api.py and quantizer.py modules.

def tf_quantizer(model,
                    input_signature,
                    quant_mode: int = 0,
                    output_dir: str = "quantize_result",
                    bitwidth: int = 8)

Quantizes the LSTM model.