Searched refs:expectedTypes (Results 1 – 3 of 3) sorted by relevance
/frameworks/ml/nn/common/ |
D | OperationsUtils.cpp | 37 bool validateOperandTypes(const std::vector<OperandType>& expectedTypes, const char* tag, in validateOperandTypes() argument 40 NN_RET_CHECK_EQ(operandCount, expectedTypes.size()); in validateOperandTypes() 43 NN_RET_CHECK(type == expectedTypes[i]) in validateOperandTypes() 45 << i << ", expected " << toString(expectedTypes[i]); in validateOperandTypes() 79 const std::vector<OperandType>& expectedTypes) { in validateInputTypes() argument 80 return validateOperandTypes(expectedTypes, "input", context->getNumInputs(), in validateInputTypes() 85 const std::vector<OperandType>& expectedTypes) { in validateOutputTypes() argument 87 expectedTypes, "output", context->getNumOutputs(), in validateOutputTypes()
|
/frameworks/ml/nn/common/include/ |
D | OperationsUtils.h | 128 const std::vector<hal::OperandType>& expectedTypes); 132 const std::vector<hal::OperandType>& expectedTypes);
|
/frameworks/base/core/java/android/view/textclassifier/ |
D | TextClassifierImpl.java | 464 Collection<String> expectedTypes = resolveActionTypesFromRequest(request); in createConversationActionResult() local 468 if (!expectedTypes.contains(actionType)) { in createConversationActionResult()
|