Home
last modified time | relevance | path

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

/packages/modules/NeuralNetworks/common/
DOperationResolver.cpp187 const OperationRegistration* operationRegistration) { in registerOperation() argument
188 CHECK(operationRegistration != nullptr); in registerOperation()
189 auto index = static_cast<int32_t>(operationRegistration->type); in registerOperation()
193 mRegistrations[index] = operationRegistration; in registerOperation()
DCpuExecutor.cpp1648 const OperationRegistration* operationRegistration = in executeOperation() local
1650 if (operationRegistration == nullptr) { in executeOperation()
1652 } else if (operationRegistration->prepare == nullptr || in executeOperation()
1653 operationRegistration->execute == nullptr) { in executeOperation()
1657 success = operationRegistration->flags.allowOmittedOperand || in executeOperation()
1659 success = success && (operationRegistration->flags.allowZeroSizedInput || in executeOperation()
1661 success = success && operationRegistration->prepare(&context) && in executeOperation()
1662 operationRegistration->execute(&context); in executeOperation()
DLegacyUtils.cpp1707 const OperationRegistration* operationRegistration = in validateOperation() local
1710 if (operationRegistration == nullptr) { in validateOperation()
1719 if (operationRegistration->validate == nullptr) { in validateOperation()
1723 OperationValidationContext context(operationRegistration->name, inputCount, in validateOperation()
1726 const auto maybeVersion = operationRegistration->validate(&context); in validateOperation()
DValidation.cpp2667 const OperationRegistration* operationRegistration = in validateOperationButNotOperandsImpl() local
2671 NN_VALIDATE(operationRegistration != nullptr) << opType << " not registered"; in validateOperationButNotOperandsImpl()
2673 NN_VALIDATE(operationRegistration->validate != nullptr) in validateOperationButNotOperandsImpl()
2676 OperationValidationContext context(operationRegistration->name, inputIndexes, in validateOperationButNotOperandsImpl()
2678 return operationRegistration->validate(&context); in validateOperationButNotOperandsImpl()
/packages/modules/NeuralNetworks/runtime/test/fibonacci_extension/
DFibonacciDriver.cpp141 static OperationRegistration operationRegistration(operationType, fibonacci_op::kOperationName, in findOperation() local
147 return prefix != 0 && typeWithinExtension == EXAMPLE_FIBONACCI ? &operationRegistration in findOperation()
/packages/modules/NeuralNetworks/common/include/
DOperationResolver.h99 void registerOperation(const OperationRegistration* operationRegistration);