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

Disagree with an alleged anti-pattern #2

Open
jhihn opened this issue Dec 5, 2017 · 0 comments
Open

Disagree with an alleged anti-pattern #2

jhihn opened this issue Dec 5, 2017 · 0 comments

Comments

@jhihn
Copy link

jhihn commented Dec 5, 2017

Or, maybe I'm reading the documentation wrong?
http://www.tensorflowpatterns.org/patterns/use-default-graph.html

I think using the default graph is wrong, because it enforces an assumption of 1 graph per script, which may be fine in the beginning, but as time goes on this will be a nagging limitation if all scripts are written to assume 1 graph. Note that this extends to the process as well, so you can't import any code which uses its own graph.

Therefore I am left to conclude that using the default graph is the true anti-pattern.

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

1 participant