Home
last modified time | relevance | path

Searched refs:tf_stat (Results 1 – 2 of 2) sorted by relevance

/external/tensorflow/tensorflow/core/profiler/internal/
Dprint_model_analysis.cc36 TFStats* tf_stat = nullptr; variable
105 tf_stat = new TFStats(std::move(graph_ptr), nullptr, std::move(op_log_ptr), in NewProfiler()
111 CHECK(!tf_stat) << "Currently only 1 living tfprof profiler is allowed"; in ProfilerFromFile()
113 tf_stat = new TFStats(*filename, nullptr); in ProfilerFromFile()
117 if (tf_stat) { in DeleteProfiler()
118 delete tf_stat; in DeleteProfiler()
119 tf_stat = nullptr; in DeleteProfiler()
125 CHECK(tf_stat); in AddStep()
134 tf_stat->AddGraph(std::move(graph_ptr)); in AddStep()
141 tf_stat->AddRunMeta(step, std::move(run_meta_ptr)); in AddStep()
[all …]
/external/tensorflow/tensorflow/core/profiler/
Dprofiler.cc200 std::unique_ptr<TFStats> tf_stat; in Run() local
202 tf_stat.reset(new TFStats(FLAGS_profile_path, std::move(ckpt_reader))); in Run()
231 tf_stat.reset(new TFStats(std::move(graph), nullptr, std::move(op_log), in Run()
245 tf_stat->AddRunMeta(i, std::move(run_meta)); in Run()
246 fprintf(stdout, "run graph coverage: %.2f\n", tf_stat->run_coverage()); in Run()
251 tf_stat->BuildAllViews(); in Run()
252 Advisor(tf_stat.get()).Advise(Advisor::DefaultOptions()); in Run()
266 tf_stat->BuildView(cmd); in Run()
267 tf_stat->ShowMultiGraphNode(cmd, opts); in Run()
270 tf_stat->BuildView(cmd); in Run()
[all …]