Skip to content

Instantly share code, notes, and snippets.

@petewarden
Created July 24, 2017 19:53
Show Gist options
  • Save petewarden/29d61877fa3b1a9df5d4eb5a5f85c72c to your computer and use it in GitHub Desktop.
Save petewarden/29d61877fa3b1a9df5d4eb5a5f85c72c 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/logged_quantized_graph.pb \
--inputs=Mul \
--outputs=softmax \
--transforms='insert_logging(op=RequantizationRange, show_name=true, message="__requant_min_max:")'
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment