Home
last modified time | relevance | path

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

/frameworks/ml/nn/runtime/test/
DTestPartitioningRandom.cpp342 bool randBool() { return randUInt(2) == 1; } in randBool()
348 unsigned randUInt(unsigned limit) { // [0, limit) in randUInt() function in android::__anonbe695bce0111::RandomPartitioningTest
752 const unsigned problemSize = 1 + randUInt(kMaxProblemSize); in TEST_P()
758 const unsigned numOperations = 2 + randUInt(kMaxNumOperations - 1); in TEST_P()
813 const unsigned operationPatternIndex = randUInt(std::size(kOperationPatterns)); in TEST_P()
828 activationFunction = randUInt(4); in TEST_P()
907 normalOperationInputKinds[randUInt(normalOperationInputCount)] = forceKind; in TEST_P()
925 operandIndex = modelInputs[randUInt(modelInputs.size())]; in TEST_P()
936 std::advance(deadOperandI, randUInt(deadOperands.size())); in TEST_P()
939 const uint32_t existingOperationIndex = randUInt(model.operationCount()); in TEST_P()
[all …]