Home | History | Annotate | Download | only in op

Lines Matching refs:graph

18 import org.tensorflow.Graph;
28 * Scope scope = new Scope(graph);
39 * scope.graph().opBuilder(
56 * Scope root = new Scope(graph);
81 * @param graph The graph instance to be managed by the scope.
83 public Scope(Graph graph) {
84 this(graph, new NameScope());
87 /** Returns the graph managed by this scope. */
88 public Graph graph() {
89 return graph;
106 return new Scope(graph, nameScope.withSubScope(childScopeName));
122 return new Scope(graph, nameScope.withName(opName));
134 * scope.graph().opBuilder("Const", scope.makeOpName("Const"))...
138 * set of related operations to the graph by calling other operator building code) you should also
158 private Scope(Graph graph, NameScope nameScope) {
159 this.graph = graph;
163 private final Graph graph;