Created
August 13, 2018 13:16
-
-
Save alreadytaikeune/85a8ccf38eb2d4f233b385cffc195f92 to your computer and use it in GitHub Desktop.
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
bazel-bin/tensorflow/tools/graph_transforms/transform_graph \ | |
--in_graph=in_graph.pb \ | |
--out_graph=out_graph.pb \ | |
--inputs='input1,input2' \ | |
--outputs='output1,output2' \ | |
--transforms=' | |
strip_unused_nodes | |
remove_nodes(op=Identity, op=CheckNumerics) | |
fold_constants(ignore_errors=true) | |
remove_attribute(attribute_name=_class) | |
fold_batch_norms | |
fold_old_batch_norms | |
quantize_weights | |
obfuscate_name | |
' |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment