Home
last modified time | relevance | path

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

/packages/modules/NeuralNetworks/runtime/test/
DTestPartitioningRandom.cpp358 bool randBool() { return randUInt(2) == 1; } in randBool()
364 unsigned randUInt(unsigned limit) { // [0, limit) in randUInt() function in android::__anonc220281b0111::RandomPartitioningTest
666 const unsigned problemSize = 1 + randUInt(kMaxProblemSize); in TEST_P()
679 const unsigned numOperations = 2 + randUInt(kMaxNumOperations - 1); in TEST_P()
746 const unsigned operationPatternIndex = randUInt(std::size(kOperationPatterns)); in TEST_P()
761 activationFunction = randUInt(4); in TEST_P()
840 normalOperationInputKinds[randUInt(normalOperationInputCount)] = forceKind; in TEST_P()
858 operandIndex = modelInputs[randUInt(modelInputs.size())]; in TEST_P()
869 std::advance(deadOperandI, randUInt(deadOperands.size())); in TEST_P()
872 const uint32_t existingOperationIndex = randUInt(model.operationCount()); in TEST_P()
[all …]