Lines Matching refs:randFrac
360 double randFrac() { // [0.0, 1.0) in randFrac() function in android::__anonc220281b0111::RandomPartitioningTest
365 return unsigned(randFrac() * limit); in randUInt()
420 std::generate(biasValue.begin(), biasValue.end(), [this] { return randFrac(); }); in makeRnnSpecialInput()
680 const bool allowDeadOperations = (randFrac() < 0.2); in TEST_P()
681 const bool allowUnknownDimensions = (randFrac() < 0.25); in TEST_P()
694 const bool forceCommonRoot = (randFrac() < 0.75); in TEST_P()
701 if (randFrac() < 0.5 && computeMode == WrapperExecution::ComputeMode::ASYNC) { in TEST_P()
808 if (randFrac() < 0.3 * (1 - double(normalOperationInputConstantCount) / in TEST_P()
821 (randFrac() < 0.5 * in TEST_P()
857 if (!modelInputs.empty() && (randFrac() < 0.5)) { in TEST_P()
867 if (!deadOperands.empty() && (randFrac() < 0.5)) { in TEST_P()
894 if (!valueOperands.empty() && (randFrac() < 0.25)) { in TEST_P()
898 if (randFrac() < 0.5) { in TEST_P()
901 [this] { return randFrac(); }); in TEST_P()
907 (kAllWeightsInOnePool || (randFrac() < 0.5))) { in TEST_P()
940 if (allowUnknownDimensions && randFrac() < 0.03) { in TEST_P()
977 std::generate(region, region + problemSize * problemSize, [this] { return randFrac(); }); in TEST_P()
999 modelOutput = (randFrac() < probabilityOfModelOutput); in TEST_P()
1003 modelOutput = (randFrac() < 0.05); in TEST_P()
1277 std::generate(goldenInputs.begin(), goldenInputs.end(), [this] { return randFrac(); }); in TEST_P()
1284 const float goldenOutput = randFrac(); in TEST_P()
1316 if (randFrac() < 0.5) { in TEST_P()
1321 if ((ioMemories.memoryCount() != 0) && (randFrac() < 0.5)) { in TEST_P()