Home | History | Annotate | Download | only in tensorflow

Lines Matching refs:graph

21  * <p>The model consists of a description of the computation (a {@link Graph}), a {@link Session}
22 * with tensors (e.g., parameters or variables in the graph) initialized to values saved in storage,
36 * @return a bundle containing the graph and associated session.
51 /** Returns the graph that describes the computation performed by the model. */
52 public Graph graph() {
53 return graph;
66 * Releases resources (the {@link Graph} and {@link Session}) associated with the saved model
72 graph.close();
75 private final Graph graph;
79 private SavedModelBundle(Graph graph, Session session, byte[] metaGraphDef) {
80 this.graph = graph;
93 Graph graph = new Graph(graphHandle);
94 Session session = new Session(graph, sessionHandle);
95 return new SavedModelBundle(graph, session, metaGraphDef);