Home
last modified time | relevance | path

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

/frameworks/ml/nn/common/
DOperationResolver.cpp182 if (index < 0 || index >= kNumberOfOperationTypes) { in findOperation()
193 CHECK_LT(index, kNumberOfOperationTypes); in registerOperation()
DUtils.cpp1866 if (0 <= opType && opType < kNumberOfOperationTypes) { in validateOperation()
1870 << kNumberOfOperationTypes << ")"; in validateOperation()
/frameworks/ml/nn/common/include/
DOperationResolver.h96 const OperationRegistration* mRegistrations[kNumberOfOperationTypes] = {};
DUtils.h39 const int kNumberOfOperationTypes = 102; variable
/frameworks/ml/nn/runtime/test/
DTestIntrospectionControl.cpp231 std::vector<bool> ops(android::nn::kNumberOfOperationTypes, true); in TEST_F()
1221 std::vector<bool> addOnlyOp(android::nn::kNumberOfOperationTypes, false); in TEST_F()
1250 std::vector<bool> addOnlyOp(android::nn::kNumberOfOperationTypes, false); in TEST_F()
1271 std::vector<bool> addOnlyOp(android::nn::kNumberOfOperationTypes, false); in TEST_F()
1275 std::vector<bool> mulOnlyOp(android::nn::kNumberOfOperationTypes, false); in TEST_F()
/frameworks/ml/nn/runtime/
DModelBuilder.cpp366 if (!validCode(kNumberOfOperationTypes, kNumberOfOperationTypesOEM, type)) { in addOperation()