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

Add support for default graph #69

Open
chrhansen opened this issue Aug 28, 2016 · 2 comments
Open

Add support for default graph #69

chrhansen opened this issue Aug 28, 2016 · 2 comments
Milestone

Comments

@chrhansen
Copy link
Collaborator

Retrieving Default Graph
It should be possible to retrieve a default graph See Python doc. This might be the first thing to build as the code for creating ops and running a session would use the "get-default-graph" method.

Creating Ops
Unless explicitly specified nodes should be added to this default graph:

Tensorflow.constant([1.0, 2.0, 3.0], shape: [3], name : 'a')
# or short-hand:
TF.constant([1.0, 2.0, 3.0], shape: [3], name : 'a')

Session
Also, when Session.run is called it should grab the default graph if not explictly specified
https://www.tensorflow.org/versions/r0.10/api_docs/python/client.html#Session.run

Python Graph documentation: https://www.tensorflow.org/versions/r0.10/api_docs/python/framework.html#Graph

@chrhansen chrhansen added this to the 0.1.0 milestone Aug 28, 2016
@chrhansen
Copy link
Collaborator Author

@geoffreylitt didn't you mention at some point you wanted to look into adding support for default graph?

@geoffreylitt
Copy link
Contributor

Yep! Earlier discussion was here: #52

Last couple weeks have been busy and I haven't had time to make progress on an implementation, but I was planning to work on this in the next week or so.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants