Home
last modified time | relevance | path

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

/external/tensorflow/tensorflow/core/profiler/internal/
Dprint_model_analysis.cc87 std::unique_ptr<GraphDef> graph_ptr(new GraphDef()); in NewProfiler() local
89 if (!graph_ptr->ParseFromString(*graph)) { in NewProfiler()
90 if (!protobuf::TextFormat::ParseFromString(*graph, graph_ptr.get())) { in NewProfiler()
105 tf_stat = new TFStats(std::move(graph_ptr), nullptr, std::move(op_log_ptr), in NewProfiler()
128 std::unique_ptr<GraphDef> graph_ptr(new GraphDef()); in AddStep() local
129 if (!graph_ptr->ParseFromString(*graph)) { in AddStep()
130 if (!protobuf::TextFormat::ParseFromString(*graph, graph_ptr.get())) { in AddStep()
134 tf_stat->AddGraph(std::move(graph_ptr)); in AddStep()
177 std::unique_ptr<GraphDef> graph_ptr(new GraphDef()); in PrintModelAnalysis() local
179 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.cc114 std::unique_ptr<Graph>* graph_ptr, in RewriteSubgraph() argument
118 Graph* graph = graph_ptr->get(); in RewriteSubgraph()
Dencapsulate_subgraphs_pass_test.cc803 std::unique_ptr<Graph>* graph_ptr, in TEST()
807 Graph* graph = graph_ptr->get(); in TEST()
848 std::unique_ptr<Graph>* graph_ptr, in TEST()
852 Graph* graph = graph_ptr->get(); in TEST()