Skip to content

Add support for default graph #69

Description

@chrhansen

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

Activity

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

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions