Home
last modified time | relevance | path

Searched refs:ground_truth (Results 1 – 13 of 13) sorted by relevance

/external/tensorflow/tensorflow/examples/speech_commands/
Daccuracy_utils_test.cc33 std::vector<std::pair<string, int64>> ground_truth; in TEST() local
34 TF_ASSERT_OK(ReadGroundTruthFile(file_name, &ground_truth)); in TEST()
35 ASSERT_EQ(2, ground_truth.size()); in TEST()
36 EXPECT_EQ("a", ground_truth[0].first); in TEST()
37 EXPECT_EQ(10, ground_truth[0].second); in TEST()
38 EXPECT_EQ("b", ground_truth[1].first); in TEST()
39 EXPECT_EQ(12, ground_truth[1].second); in TEST()
Daccuracy_utils.cc70 for (const std::pair<string, int64>& ground_truth : ground_truth_list) { in CalculateAccuracyStats() local
71 const int64 ground_truth_time = ground_truth.second; in CalculateAccuracyStats()
88 for (const std::pair<string, int64>& ground_truth : ground_truth_list) { in CalculateAccuracyStats() local
89 const int64 ground_truth_time = ground_truth.second; in CalculateAccuracyStats()
97 const string& ground_truth_label = ground_truth.first; in CalculateAccuracyStats()
Dtest_streaming_accuracy.cc137 string ground_truth = ""; in main() local
152 Flag("ground_truth", &ground_truth, in main()
204 tensorflow::ReadGroundTruthFile(ground_truth, &ground_truth_list); in main()
/external/perfetto/tools/
Danalyze_profiling_sampling_distribution.py32 ground_truth = {}
40 assert code_location not in ground_truth
41 ground_truth[code_location] = int(size)
51 print key, "ground truth %d " % ground_truth[key], sp.stats.describe(value)
/external/tensorflow/tensorflow/lite/tools/accuracy/ilsvrc/
Dimagenet_topk_eval.cc47 const std::vector<Tensor>& model_outputs, const Tensor& ground_truth) { in ComputeEval() argument
57 if (ground_truth.dtype() != DT_STRING && ground_truth.dims() != 0) { in ComputeEval()
59 ground_truth.DebugString()); in ComputeEval()
61 string ground_truth_label = ground_truth.scalar<string>()(); in ComputeEval()
Dimagenet_topk_eval_test.cc40 std::vector<string> ground_truth; in CreateGroundTruth() local
41 ground_truth.reserve(kNumCategories); in CreateGroundTruth()
45 ground_truth.push_back(category); in CreateGroundTruth()
47 return ground_truth; in CreateGroundTruth()
Dimagenet_topk_eval.h66 const Tensor& ground_truth) override;
/external/tensorflow/tensorflow/lite/tools/accuracy/
Deval_pipeline_test.cc37 const Tensor& ground_truth) override { in ComputeEval() argument
39 ground_truth_ = ground_truth; in ComputeEval()
46 Tensor ground_truth() { return ground_truth_; } in ground_truth() function in tensorflow::metrics::__anon7671d8850111::NoOpAccuracyEval
77 EXPECT_EQ(27, accuracy_eval.ground_truth().scalar<float>()()); in TEST()
Deval_pipeline.cc27 Status EvalPipeline::Run(const Tensor& input, const Tensor& ground_truth) { in Run() argument
35 TF_RETURN_IF_ERROR(eval_->ComputeEval(outputs, ground_truth)); in Run()
Daccuracy_eval_stage.h45 const Tensor& ground_truth) = 0;
Deval_pipeline.h77 Status Run(const Tensor& input, const Tensor& ground_truth);
DREADME.md28 Tensor ground_truth = ... read ground truth for the model ...
Deval_pipeline_builder_test.cc76 const Tensor& ground_truth) override { in ComputeEval() argument