Home
last modified time | relevance | path

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

/packages/modules/NeuralNetworks/runtime/test/
DTestPartitioningRandom.cpp360 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()
[all …]