Home
last modified time | relevance | path

Searched refs:kNumClasses (Results 1 – 3 of 3) sorted by relevance

/packages/modules/NeuralNetworks/common/cpu_operations/
DMultinomialTest.cpp112 constexpr int kNumClasses = 10000; in TEST() local
116 MultinomialOpModel multinomial(kBatchSize, kNumClasses, kNumSamples); in TEST()
121 class_counts.resize(kNumClasses); in TEST()
130 for (int i = 0; i < kNumClasses; ++i) { in TEST()
133 for (int i = 0; i < kNumClasses; ++i) { in TEST()
/packages/modules/NeuralNetworks/tools/test_generator/test_harness/include_legacy/
DTestHarness.h391 const int kNumClasses = 1024; in expectMultinomialDistributionWithinTolerance() local
396 class_counts.resize(kNumClasses); in expectMultinomialDistributionWithinTolerance()
412 for (int i = 0; i < kNumClasses; ++i) { in expectMultinomialDistributionWithinTolerance()
415 for (int i = 0; i < kNumClasses; ++i) { in expectMultinomialDistributionWithinTolerance()
/packages/modules/NeuralNetworks/tools/test_generator/test_harness/
DTestHarness.cpp154 const int kNumClasses = inputOperand.dimensions[1]; in expectMultinomialDistributionWithinTolerance() local
159 std::vector<int> classCounts(kNumClasses); in expectMultinomialDistributionWithinTolerance()
180 for (int i = 0; i < kNumClasses; ++i) { in expectMultinomialDistributionWithinTolerance()
183 for (int i = 0; i < kNumClasses; ++i) { in expectMultinomialDistributionWithinTolerance()