Home
last modified time | relevance | path

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

/packages/modules/NeuralNetworks/common/include/
DLegacyUtils.h44 const int kNumberOfOperationTypes = 102; variable
45 static_assert(kNumberOfOperationTypes == BuiltinOperationResolver::kNumberOfOperationTypes);
DOperationResolver.h94 static constexpr int kNumberOfOperationTypes = 102; variable
101 const OperationRegistration* mRegistrations[kNumberOfOperationTypes] = {};
/packages/modules/NeuralNetworks/common/
DOperationResolver.cpp180 if (index < 0 || index >= kNumberOfOperationTypes) { in findOperation()
191 CHECK_LT(index, kNumberOfOperationTypes); in registerOperation()
DLegacyUtils.cpp1711 if (0 <= opType && opType < kNumberOfOperationTypes) { in validateOperation()
1715 << kNumberOfOperationTypes << ")"; in validateOperation()
/packages/modules/NeuralNetworks/runtime/test/
DTestIntrospectionControl.cpp236 std::vector<bool> ops(android::nn::kNumberOfOperationTypes, true); in TEST_F()
1422 std::vector<bool> addOnlyOp(android::nn::kNumberOfOperationTypes, false); in TEST_F()
1451 std::vector<bool> addOnlyOp(android::nn::kNumberOfOperationTypes, false); in TEST_F()
1472 std::vector<bool> addOnlyOp(android::nn::kNumberOfOperationTypes, false); in TEST_F()
1476 std::vector<bool> mulOnlyOp(android::nn::kNumberOfOperationTypes, false); in TEST_F()
/packages/modules/NeuralNetworks/runtime/
DModelBuilder.cpp373 if (!validCode(kNumberOfOperationTypes, kNumberOfOperationTypesOEM, type)) { in addOperation()