Home
last modified time | relevance | path

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

/external/tensorflow/tensorflow/core/profiler/internal/
Dprint_model_analysis.cc92 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/
Dprofiler.cc21 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/
Dencapsulate_xla_computations_pass.cc110 std::unique_ptr<Graph>* graph_ptr, in RewriteSubgraph() argument
114 Graph* graph = graph_ptr->get(); in RewriteSubgraph()
Dencapsulate_subgraphs_pass_test.cc796 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/
Dplacer_test.cc283 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/
Dencapsulate_tpu_computations_pass.cc77 std::unique_ptr<Graph>* graph_ptr, in RewriteSubgraph() argument
125 Graph* graph = graph_ptr->get(); in RewriteSubgraph()