Home
last modified time | relevance | path

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

/AliOS-Things-master/solutions/tflite_micro_speech_demo/micro_speech/train/speech_commands/
A 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()
A Daccuracy_utils.py102 for ground_truth in self._gt_occurrence:
103 ground_truth_time = ground_truth[1]
117 for ground_truth in self._gt_occurrence:
118 ground_truth_time = ground_truth[1]
124 ground_truth_label = ground_truth[0]
A 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()
A 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()
A Dtest_streaming_accuracy.py124 stats.read_ground_truth_file(FLAGS.ground_truth)

Completed in 7 milliseconds