Home
last modified time | relevance | path

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

/frameworks/ml/nn/common/operations/
DMultinomialTest.cpp124 const int batch_index = kBatchSize * b; in TEST() local
126 probability_sum += expf(input[batch_index + i]); in TEST()
131 float probability_expected = expf(input[batch_index + i]) / probability_sum; in TEST()
/frameworks/ml/nn/tools/test_generator/include/
DTestHarness.h410 const int batch_index = kBatchSize * b; in expectMultinomialDistributionWithinTolerance() local
412 probability_sum += expf(input[batch_index + i]); in expectMultinomialDistributionWithinTolerance()
417 float probability_expected = expf(input[batch_index + i]) / probability_sum; in expectMultinomialDistributionWithinTolerance()