Home
last modified time | relevance | path

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

/frameworks/ml/nn/common/operations/
DMultinomialTest.cpp131 float probability_expected = expf(input[batch_index + i]) / probability_sum; in TEST() local
132 EXPECT_THAT(probability, FloatNear(probability_expected, kMaxProbabilityDelta)); in TEST()
/frameworks/ml/nn/tools/test_generator/include/
DTestHarness.h417 float probability_expected = expf(input[batch_index + i]) / probability_sum; in expectMultinomialDistributionWithinTolerance() local
419 ::testing::FloatNear(probability_expected, in expectMultinomialDistributionWithinTolerance()