Created
November 13, 2016 15:54
-
-
Save MechCoder/24b17ec0a8e530d4c3bfffe661361467 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
import tensorflow as tf | |
class test(object): | |
def test_func(self, pass=1): | |
to_hidden_W = tf.get_variable( | |
"to_hidden_W", | |
shape=[2, 2]) | |
with tf.variable_scope("Model", reuse=True): | |
a = test() | |
for v in tf.all_variables(): | |
print(v.name) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment