Lines Matching refs:randFrac

359     double randFrac() {  // [0.0, 1.0)  in randFrac()  function in android::__anonbe695bce0111::RandomPartitioningTest
364 return unsigned(randFrac() * limit); in randUInt()
402 [this]{ return randFrac(); }); in makeRnnSpecialInput()
558 const bool allowDeadOperations = (randFrac() < 0.2); in TEST_P()
559 const bool allowUnknownDimensions = (randFrac() < 0.25); in TEST_P()
572 const bool forceCommonRoot = (randFrac() < 0.75); in TEST_P()
676 if (randFrac() < 0.3 * (1 - double(normalOperationInputConstantCount) / in TEST_P()
689 (randFrac() < 0.5 * in TEST_P()
726 if (!modelInputs.empty() && (randFrac() < 0.5)) { in TEST_P()
736 if (!deadOperands.empty() && (randFrac() < 0.5)) { in TEST_P()
763 if (!valueOperands.empty() && (randFrac() < 0.25)) { in TEST_P()
767 if (randFrac() < 0.5) { in TEST_P()
769 std::generate(value.begin(), value.end(), [this]{ return randFrac(); }); in TEST_P()
775 (kAllWeightsInOnePool || (randFrac() < 0.5))) { in TEST_P()
805 if (allowUnknownDimensions && randFrac() < 0.03) { in TEST_P()
840 std::generate(region, region + problemSize * problemSize, [this]{ return randFrac(); }); in TEST_P()
862 modelOutput = (randFrac() < probabilityOfModelOutput); in TEST_P()
866 modelOutput = (randFrac() < 0.05); in TEST_P()
1020 std::generate(masterInputs.begin(), masterInputs.end(), [this]{ return randFrac(); }); in TEST_P()
1021 const float masterOutput = randFrac(); in TEST_P()
1055 if (randFrac() < 0.5) { in TEST_P()
1060 if ((ioMemories.memoryCount() != 0) && (randFrac() < 0.5)) { in TEST_P()