Searched refs:graph_ptr (Results 1 – 6 of 6) sorted by relevance
/external/tensorflow/tensorflow/core/profiler/internal/ |
D | print_model_analysis.cc | 92 std::unique_ptr<GraphDef> graph_ptr(new GraphDef()); in NewProfiler() local 94 if (!graph_ptr->ParseFromString(*graph)) { in NewProfiler() 95 if (!protobuf::TextFormat::ParseFromString(*graph, graph_ptr.get())) { in NewProfiler() 110 tf_stat = new TFStats(std::move(graph_ptr), nullptr, std::move(op_log_ptr), in NewProfiler() 133 std::unique_ptr<GraphDef> graph_ptr(new GraphDef()); in AddStep() local 134 if (!graph_ptr->ParseFromString(*graph)) { in AddStep() 135 if (!protobuf::TextFormat::ParseFromString(*graph, graph_ptr.get())) { in AddStep() 139 tf_stat->AddGraph(std::move(graph_ptr)); in AddStep() 182 std::unique_ptr<GraphDef> graph_ptr(new GraphDef()); in PrintModelAnalysis() local 184 graph_ptr->ParseFromString(*graph); in PrintModelAnalysis() [all …]
|
/external/tensorflow/tensorflow/cc/profiler/ |
D | profiler.cc | 21 std::unique_ptr<GraphDef> graph_ptr(new GraphDef()); in Profiler() local 22 *graph_ptr = graph; in Profiler() 23 stats_.reset(new TFStats(std::move(graph_ptr), nullptr, nullptr, nullptr)); in Profiler()
|
/external/tensorflow/tensorflow/compiler/jit/ |
D | encapsulate_xla_computations_pass.cc | 110 std::unique_ptr<Graph>* graph_ptr, in RewriteSubgraph() argument 114 Graph* graph = graph_ptr->get(); in RewriteSubgraph()
|
D | encapsulate_subgraphs_pass_test.cc | 796 std::unique_ptr<Graph>* graph_ptr, in TEST() 800 Graph* graph = graph_ptr->get(); in TEST() 841 std::unique_ptr<Graph>* graph_ptr, in TEST() 845 Graph* graph = graph_ptr->get(); in TEST()
|
/external/tensorflow/tensorflow/core/common_runtime/ |
D | placer_test.cc | 283 std::unique_ptr<Graph> graph_ptr(graph); in CallOptPassesAndPlace() local 284 optimization_options.graph = &graph_ptr; in CallOptPassesAndPlace() 292 graph_ptr.release(); in CallOptPassesAndPlace() 295 graph = graph_ptr.release(); in CallOptPassesAndPlace()
|
/external/tensorflow/tensorflow/core/tpu/graph_rewrite/ |
D | encapsulate_tpu_computations_pass.cc | 77 std::unique_ptr<Graph>* graph_ptr, in RewriteSubgraph() argument 125 Graph* graph = graph_ptr->get(); in RewriteSubgraph()
|