Home
last modified time | relevance | path

Searched refs:executionResultCode (Results 1 – 2 of 2) sorted by relevance

/packages/modules/NeuralNetworks/runtime/
DExecutionBuilder.cpp106 static bool validateOutputShapesFromDriver(int executionResultCode, const ModelBuilder* model, in validateOutputShapesFromDriver() argument
108 return validateOutputShapesFromDriver(convertResultCodeToErrorStatus(executionResultCode), in validateOutputShapesFromDriver()
1114 static bool isZeroSizedTensor(int executionResultCode, const OutputShape& outputShape) { in isZeroSizedTensor() argument
1115 return (executionResultCode == ANEURALNETWORKS_NO_ERROR) && outputShape.isSufficient && in isZeroSizedTensor()
1191 bool StepExecutor::updateOutputShapes(int executionResultCode, const std::vector<OutputShape>& from, in updateOutputShapes() argument
1198 NN_RET_CHECK(validateOutputShapesFromDriver(executionResultCode, mModel, from)); in updateOutputShapes()
1220 isZeroSizedTensor(executionResultCode, from[i])) { in updateOutputShapes()
1267 if (executionResultCode == ANEURALNETWORKS_NO_ERROR) { in updateOutputShapes()
1268 NN_RET_CHECK(isZeroSizedTensor(executionResultCode, from[i])); in updateOutputShapes()
DExecutionBuilder.h343 bool updateOutputShapes(int executionResultCode, const std::vector<OutputShape>& from,