Home
last modified time | relevance | path

Searched refs:batch_index (Results 1 – 2 of 2) sorted by relevance

/packages/modules/NeuralNetworks/common/cpu_operations/
DMultinomialTest.cpp129 const int batch_index = kBatchSize * b; in TEST() local
131 probability_sum += expf(input[batch_index + i]); in TEST()
136 float probability_expected = expf(input[batch_index + i]) / probability_sum; in TEST()
/packages/modules/NeuralNetworks/tools/test_generator/test_harness/include_legacy/
DTestHarness.h411 const int batch_index = kBatchSize * b; in expectMultinomialDistributionWithinTolerance() local
413 probability_sum += expf(input[batch_index + i]); in expectMultinomialDistributionWithinTolerance()
418 float probability_expected = expf(input[batch_index + i]) / probability_sum; in expectMultinomialDistributionWithinTolerance()