This document is used to enable Tensorflow SavedModel format using Intel® Neural Compressor for performance only.
# Install Intel® Neural Compressor
pip install neural-compressor
pip install intel-tensorflow
Note: Supported Tensorflow >= 2.4.0.
Download the model from tensorflow-hub.
image recognition
bash run_tuning.sh --config=./config.yaml --input_model=./SavedModel --output_model=./nc_SavedModel
bash run_benchmark.sh --config=./config.yaml --input_model=./SavedModel --mode=performance