Home
last modified time | relevance | path

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

/packages/modules/NeuralNetworks/common/
DOperationsUtils.cpp35 bool validateOperandTypes(const std::vector<OperandType>& expectedTypes, const char* tag, in validateOperandTypes() argument
38 NN_RET_CHECK_EQ(operandCount, expectedTypes.size()); in validateOperandTypes()
41 NN_RET_CHECK(type == expectedTypes[i]) in validateOperandTypes()
43 << ", expected " << expectedTypes[i]; in validateOperandTypes()
77 const std::vector<OperandType>& expectedTypes) { in validateInputTypes() argument
78 return validateOperandTypes(expectedTypes, "input", context->getNumInputs(), in validateInputTypes()
83 const std::vector<OperandType>& expectedTypes) { in validateOutputTypes() argument
85 expectedTypes, "output", context->getNumOutputs(), in validateOutputTypes()
/packages/services/Car/tests/carservice_unit_test/src/com/android/car/testapi/
DBlockingUserLifecycleListenerTest.java299 @UserLifecycleEventType int... expectedTypes) { in assertEvents() argument
301 assertThat(events).hasSize(expectedTypes.length); in assertEvents()
302 for (int i = 0; i < expectedTypes.length; i++) { in assertEvents()
303 int expectedType = expectedTypes[i]; in assertEvents()
/packages/modules/NeuralNetworks/common/include/
DOperationsUtils.h112 const std::vector<OperandType>& expectedTypes);
116 const std::vector<OperandType>& expectedTypes);