/external/tensorflow/tensorflow/examples/speech_commands/ |
D | accuracy_utils_test.cc | 33 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()
|
D | accuracy_utils.cc | 70 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()
|
D | test_streaming_accuracy.cc | 137 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/ |
D | analyze_profiling_sampling_distribution.py | 32 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/ |
D | imagenet_topk_eval.cc | 47 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()
|
D | imagenet_topk_eval_test.cc | 40 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()
|
D | imagenet_topk_eval.h | 66 const Tensor& ground_truth) override;
|
/external/tensorflow/tensorflow/lite/tools/accuracy/ |
D | eval_pipeline_test.cc | 37 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()
|
D | eval_pipeline.cc | 27 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()
|
D | accuracy_eval_stage.h | 45 const Tensor& ground_truth) = 0;
|
D | eval_pipeline.h | 77 Status Run(const Tensor& input, const Tensor& ground_truth);
|
D | README.md | 28 Tensor ground_truth = ... read ground truth for the model ...
|
D | eval_pipeline_builder_test.cc | 76 const Tensor& ground_truth) override { in ComputeEval() argument
|