Skip to content

Instantly share code, notes, and snippets.

@petewarden
Created July 24, 2017 19:54
Show Gist options
  • Save petewarden/9281916ece2ff290162b679626742a46 to your computer and use it in GitHub Desktop.
Save petewarden/9281916ece2ff290162b679626742a46 to your computer and use it in GitHub Desktop.
bazel-bin/tensorflow/tools/graph_transforms/transform_graph \
--in_graph=/tmp/model/quantized_graph.pb \
--out_graph=/tmp/model/ranged_quantized_graph.pb \
--inputs=Mul \
--outputs=softmax \
--transforms='freeze_requantization_ranges(min_max_log_file=/tmp/model/logged_ranges.txt)'
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment