Home
last modified time | relevance | path

Searched refs:StatsCalculator (Results 1 – 11 of 11) sorted by relevance

/external/tensorflow/tensorflow/lite/profiling/
Dprofile_summary_formatter_test.cc46 std::map<uint32_t, std::unique_ptr<tensorflow::StatsCalculator>>(), in TEST()
47 tensorflow::StatsCalculator(writer.GetStatSummarizerOptions())); in TEST()
54 std::map<uint32_t, std::unique_ptr<tensorflow::StatsCalculator>>(), in TEST()
55 tensorflow::StatsCalculator(writer.GetStatSummarizerOptions())); in TEST()
61 std::map<uint32_t, std::unique_ptr<tensorflow::StatsCalculator>> in TEST()
63 stats_calculator_map[0] = std::make_unique<tensorflow::StatsCalculator>( in TEST()
67 tensorflow::StatsCalculator(writer.GetStatSummarizerOptions())); in TEST()
80 std::map<uint32_t, std::unique_ptr<tensorflow::StatsCalculator>> in TEST()
82 stats_calculator_map[0] = std::make_unique<tensorflow::StatsCalculator>( in TEST()
86 tensorflow::StatsCalculator(writer.GetStatSummarizerOptions())); in TEST()
[all …]
Dprofile_summary_formatter.h38 const std::map<uint32_t, std::unique_ptr<tensorflow::StatsCalculator>>&
40 const tensorflow::StatsCalculator& delegate_stats_calculator) const = 0;
44 const std::map<uint32_t, std::unique_ptr<tensorflow::StatsCalculator>>&
46 const tensorflow::StatsCalculator& delegate_stats_calculator) const = 0;
56 const std::map<uint32_t, std::unique_ptr<tensorflow::StatsCalculator>>&
58 const tensorflow::StatsCalculator& delegate_stats_calculator)
61 const std::map<uint32_t, std::unique_ptr<tensorflow::StatsCalculator>>&
63 const tensorflow::StatsCalculator& delegate_stats_calculator)
70 const std::map<uint32_t, std::unique_ptr<tensorflow::StatsCalculator>>&
72 const tensorflow::StatsCalculator& delegate_stats_calculator) const;
Dprofile_summary_formatter.cc25 const std::map<uint32_t, std::unique_ptr<tensorflow::StatsCalculator>>& in GetOutputString()
27 const tensorflow::StatsCalculator& delegate_stats_calculator) const { in GetOutputString()
33 const std::map<uint32_t, std::unique_ptr<tensorflow::StatsCalculator>>& in GetShortSummary()
35 const tensorflow::StatsCalculator& delegate_stats_calculator) const { in GetShortSummary()
42 const std::map<uint32_t, std::unique_ptr<tensorflow::StatsCalculator>>& in GenerateReport()
44 const tensorflow::StatsCalculator& delegate_stats_calculator) const { in GenerateReport()
Dprofile_summarizer.cc95 stats_calculator_map_[0] = std::unique_ptr<tensorflow::StatsCalculator>( in ProfileSummarizer()
96 new tensorflow::StatsCalculator( in ProfileSummarizer()
100 delegate_stats_calculator_ = std::unique_ptr<tensorflow::StatsCalculator>( in ProfileSummarizer()
101 new tensorflow::StatsCalculator( in ProfileSummarizer()
204 tensorflow::StatsCalculator* ProfileSummarizer::GetStatsCalculator( in GetStatsCalculator()
208 std::unique_ptr<tensorflow::StatsCalculator>( in GetStatsCalculator()
209 new tensorflow::StatsCalculator( in GetStatsCalculator()
Dprofile_summarizer.h55 tensorflow::StatsCalculator* GetStatsCalculator(uint32_t subgraph_index);
67 std::map<uint32_t, std::unique_ptr<tensorflow::StatsCalculator>>
70 std::unique_ptr<tensorflow::StatsCalculator> delegate_stats_calculator_;
/external/tensorflow/tensorflow/core/util/
Dstats_calculator.cc26 StatsCalculator::StatsCalculator(const StatSummarizerOptions& options) in StatsCalculator() function in tensorflow::StatsCalculator
29 std::string StatsCalculator::GetShortSummary() const { in GetShortSummary()
49 std::string StatsCalculator::HeaderString(const std::string& title) const { in HeaderString()
72 std::string StatsCalculator::ColumnString(const Detail& detail, in ColumnString()
105 void StatsCalculator::OrderNodesByMetric( in OrderNodesByMetric()
147 void StatsCalculator::ComputeStatsByType( in ComputeStatsByType()
174 std::string StatsCalculator::GetStatsByNodeType() const { in GetStatsByNodeType()
250 std::string StatsCalculator::GetStatsByMetric(const std::string& title, in GetStatsByMetric()
276 std::string StatsCalculator::GetOutputString() const { in GetOutputString()
299 void StatsCalculator::AddNodeStats(const std::string& name, in AddNodeStats()
Dstats_calculator_test.cc25 using Detail = StatsCalculator::Detail;
29 StatsCalculator calc(options); in TEST()
45 StatsCalculator calc(options); in TEST()
Dstat_summarizer.h92 StatsCalculator::SortingMetric sorting_metric, in GetStatsByMetric()
111 std::unique_ptr<StatsCalculator> stats_calculator_;
Dstat_summarizer.cc34 using Detail = StatsCalculator::Detail;
37 : stats_calculator_(new StatsCalculator(options)) {} in StatSummarizer()
40 : stats_calculator_(new StatsCalculator(StatSummarizerOptions())) {} in StatSummarizer()
Dstats_calculator.h126 class StatsCalculator {
136 explicit StatsCalculator(const StatSummarizerOptions& options);
/external/tensorflow/tensorflow/tools/android/inference_interface/jni/
Drun_stats_jni.cc77 ret << s->GetStatsByMetric("Top 10 CPU", tensorflow::StatsCalculator::BY_TIME, in RUN_STATS_METHOD()