Searched refs:new_graph (Results 1 – 6 of 6) sorted by relevance
/external/tensorflow/tensorflow/core/common_runtime/ |
D | graph_execution_state.cc | 550 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 …]
|
D | shape_refiner.cc | 148 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/ |
D | create_custom_op.py | 83 new_graph = fuse_op( 93 for node in new_graph.node: 96 return new_graph
|
/external/tensorflow/tensorflow/python/eager/ |
D | wrap_function_test.py | 383 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/ |
D | mark_for_compilation_pass.cc | 1350 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/ |
D | meta_graph_test.py | 101 new_graph = ops.Graph() 102 with self.session(graph=new_graph) as sess:
|