Created
November 24, 2019 13:19
-
-
Save NTU-P04922004/37c3ddafda69582ccf011c2fc26122fd to your computer and use it in GitHub Desktop.
Analyze TF model with tf-slim
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.contrib.slim as slim | |
| model_vars = tf.trainable_variables() | |
| slim.model_analyzer.analyze_vars(model_vars, print_info=True) | |
| slim.model_analyzer.analyze_ops(tf.compat.v1.get_default_graph(), print_info=True) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment