Home
last modified time | relevance | path

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

/frameworks/ml/nn/runtime/test/
DTestPartitioningRandom.cpp344 double randFrac() { // [0.0, 1.0) in randFrac() function in android::__anonbe695bce0111::RandomPartitioningTest
349 return unsigned(randFrac() * limit); in randUInt()
404 std::generate(biasValue.begin(), biasValue.end(), [this] { return randFrac(); }); in makeRnnSpecialInput()
759 const bool allowDeadOperations = (randFrac() < 0.2); in TEST_P()
760 const bool allowUnknownDimensions = (randFrac() < 0.25); in TEST_P()
773 const bool forceCommonRoot = (randFrac() < 0.75); in TEST_P()
875 if (randFrac() < 0.3 * (1 - double(normalOperationInputConstantCount) / in TEST_P()
888 (randFrac() < 0.5 * in TEST_P()
924 if (!modelInputs.empty() && (randFrac() < 0.5)) { in TEST_P()
934 if (!deadOperands.empty() && (randFrac() < 0.5)) { in TEST_P()
[all …]