Home
last modified time | relevance | path

Searched refs:new_graph (Results 1 – 6 of 6) sorted by relevance

/external/tensorflow/tensorflow/core/common_runtime/
Dgraph_execution_state.cc550 std::unique_ptr<Graph> new_graph(new Graph(OpRegistry::Global())); in InitBaseGraph() local
552 TF_RETURN_IF_ERROR(ConvertGraphDefToGraph(opts, *graph_def, new_graph.get())); in InitBaseGraph()
558 PruneGraph(options, new_graph.get(), rewrite_metadata_.get())); in InitBaseGraph()
562 RestoreStatefulNodes(new_graph.get()); in InitBaseGraph()
567 optimization_options.graph = &new_graph; in InitBaseGraph()
574 Placer placer(new_graph.get(), device_set_, /* default_device= */ nullptr, in InitBaseGraph()
585 for (const Node* n : new_graph->nodes()) { in InitBaseGraph()
590 SaveStatefulNodes(new_graph.get()); in InitBaseGraph()
591 graph_ = new_graph.release(); in InitBaseGraph()
692 GraphDef new_graph; in OptimizeGraph() local
[all …]
Dshape_refiner.cc148 Graph* new_graph = new Graph(function_library_); in InferShapesForFunction() local
152 ConvertNodeDefsToGraph(options, result.nodes, new_graph)); in InferShapesForFunction()
153 functions_[function_def].reset(new_graph); in InferShapesForFunction()
154 graph = new_graph; in InferShapesForFunction()
/external/tensorflow/tensorflow/lite/python/
Dcreate_custom_op.py83 new_graph = fuse_op(
93 for node in new_graph.node:
96 return new_graph
/external/tensorflow/tensorflow/python/eager/
Dwrap_function_test.py383 new_graph = lambda: wrap_function.WrappedGraph(variable_holder=vh) function
385 add = new_graph().wrap_function(add_v1, signature)
386 subtract = new_graph().wrap_function(subtract_v1, signature)
387 different_variable_fn = new_graph().wrap_function(
389 increment_variable = new_graph().wrap_function(
/external/tensorflow/tensorflow/compiler/jit/
Dmark_for_compilation_pass.cc1350 Graph new_graph((*options.graph)->op_registry()); in RunImpl() local
1351 CopyGraph(**options.graph, &new_graph); in RunImpl()
1353 for (Node* n : new_graph.nodes()) { in RunImpl()
1367 DumpGraphToFile("mark_for_compilation_annotated", new_graph, in RunImpl()
/external/tensorflow/tensorflow/python/framework/
Dmeta_graph_test.py101 new_graph = ops.Graph()
102 with self.session(graph=new_graph) as sess: