TensorFlow APIs - 2.0 English

Vitis AI RNN User Guide (UG1563)

Document ID
UG1563
Release Date
2022-01-20
Version
2.0 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: str = "calib",
                    output_dir: str = "quantize_result",
                    bitwidth: int = 8)

Quantizes the LSTM model.