Created
December 5, 2017 18:52
-
-
Save gauravkaila/8fddb9274906a24cc24de7ce0726517f to your computer and use it in GitHub Desktop.
This file contains hidden or 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
# def _write_frozen_graph(frozen_graph_path, frozen_graph_def): | |
# """Writes frozen graph to disk. | |
# | |
# Args: | |
# frozen_graph_path: Path to write inference graph. | |
# frozen_graph_def: tf.GraphDef holding frozen graph. | |
# """ | |
# with gfile.GFile(frozen_graph_path, 'wb') as f: | |
# f.write(frozen_graph_def.SerializeToString()) | |
# logging.info('%d ops in the final graph.', len(frozen_graph_def.node)) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Great concept