Home
last modified time | relevance | path

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

/frameworks/ml/nn/runtime/test/
DTestPartitioningRandom.cpp592 std::map<uint32_t, uint32_t> deadOperands; in TEST_P() local
735 decltype(deadOperands.begin()) deadOperandI; in TEST_P()
736 if (!deadOperands.empty() && (randFrac() < 0.5)) { in TEST_P()
737 deadOperandI = deadOperands.begin(); in TEST_P()
738 std::advance(deadOperandI, randUInt(deadOperands.size())); in TEST_P()
746 deadOperandI = deadOperands.find(operandIndex); in TEST_P()
747 assert(deadOperandI == deadOperands.end() || in TEST_P()
750 if (deadOperandI != deadOperands.end()) { in TEST_P()
752 deadOperands.erase(deadOperandI); in TEST_P()
820 [&deadOperands, operationIndex](uint32_t operandIndex) { in TEST_P()
[all …]