Home
last modified time | relevance | path

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

/frameworks/ml/nn/runtime/test/
DTestPartitioningRandom.cpp356 return randUInt(2) == 1; in randBool()
363 unsigned randUInt(unsigned limit) { // [0, limit) in randUInt() function in android::__anonbe695bce0111::RandomPartitioningTest
551 const unsigned problemSize = 1+randUInt(kMaxProblemSize); in TEST_P()
557 const unsigned numOperations = 2+randUInt(kMaxNumOperations-1); in TEST_P()
613 randUInt(sizeof(kOperationPatterns)/sizeof(kOperationPatterns[0])); in TEST_P()
628 activationFunction = randUInt(4); in TEST_P()
709 normalOperationInputKinds[randUInt(normalOperationInputCount)] = forceKind; in TEST_P()
727 operandIndex = modelInputs[randUInt(modelInputs.size())]; in TEST_P()
738 std::advance(deadOperandI, randUInt(deadOperands.size())); in TEST_P()
741 const uint32_t existingOperationIndex = randUInt(model.operationCount()); in TEST_P()
[all …]