Created
December 2, 2018 16:36
-
-
Save hadifar/1039ebfaa3bc1f74c0bfeac64dfad6a1 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
| import tensorflow as tf | |
| session = tf.Session() | |
| for item in tf.get_default_graph().get_operations(): | |
| print(item) | |
| print(50*'-') | |
| model = tf.saved_model.loader.load(sess=session, | |
| tags=[tf.saved_model.tag_constants.SERVING], | |
| export_dir='./test/') | |
| print(50*'-') | |
| for item in tf.get_default_graph().get_operations(): | |
| print(item) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment