Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

tf.variable_scope with tf.AUTO_REUSE #69

Closed
meeio opened this issue Mar 22, 2018 · 1 comment
Closed

tf.variable_scope with tf.AUTO_REUSE #69

meeio opened this issue Mar 22, 2018 · 1 comment

Comments

@meeio
Copy link

meeio commented Mar 22, 2018

what if i change:
with tf.variable_scope(self.name, reuse=self.reuse)
to:
with tf.variable_scope(self.name, reuse=tf.AUTO_REUSE)
will it get same result?

@vanhuyz
Copy link
Owner

vanhuyz commented Mar 26, 2018

Yeah, it looks like we can use the new tf.AUTO_REUSE API.

@meeio meeio closed this as completed May 16, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants