forked from tensorflow/tensorflow
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix saved_model_cli tensorrt conversion
The existing saved_model_cli convert tensorrt script fails in 2.X with module not found "tensorflow.contrib". Updated the script to use the V2 API for TensorRT to convert a saved_model. The max_batch_size and is_dynamic_op parameters are not valid for the V2 API so they have been removed.
- Loading branch information
Showing
1 changed file
with
11 additions
and
24 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters