Lines Matching refs:randFrac
344 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()
961 if (!valueOperands.empty() && (randFrac() < 0.25)) { in TEST_P()
965 if (randFrac() < 0.5) { in TEST_P()
968 [this] { return randFrac(); }); in TEST_P()
974 (kAllWeightsInOnePool || (randFrac() < 0.5))) { in TEST_P()
1004 if (allowUnknownDimensions && randFrac() < 0.03) { in TEST_P()
1038 std::generate(region, region + problemSize * problemSize, [this] { return randFrac(); }); in TEST_P()
1060 modelOutput = (randFrac() < probabilityOfModelOutput); in TEST_P()
1064 modelOutput = (randFrac() < 0.05); in TEST_P()
1247 std::generate(goldenInputs.begin(), goldenInputs.end(), [this] { return randFrac(); }); in TEST_P()
1254 const float goldenOutput = randFrac(); in TEST_P()
1286 if (randFrac() < 0.5) { in TEST_P()
1291 if ((ioMemories.memoryCount() != 0) && (randFrac() < 0.5)) { in TEST_P()