Searched refs:ANEURALNETWORKS_NO_ERROR (Results 1 – 14 of 14) sorted by relevance
/frameworks/ml/nn/runtime/test/ |
D | TestValidation.cpp | 36 ASSERT_EQ(ANeuralNetworksModel_create(&mModel), ANEURALNETWORKS_NO_ERROR); in SetUp() 54 ASSERT_EQ(ANeuralNetworksModel_addOperand(mModel, &tensorType), ANEURALNETWORKS_NO_ERROR); in SetUp() 55 ASSERT_EQ(ANeuralNetworksModel_addOperand(mModel, &tensorType), ANEURALNETWORKS_NO_ERROR); in SetUp() 56 ASSERT_EQ(ANeuralNetworksModel_addOperand(mModel, &tensorType), ANEURALNETWORKS_NO_ERROR); in SetUp() 61 ANEURALNETWORKS_NO_ERROR); in SetUp() 62 ASSERT_EQ(ANeuralNetworksModel_finish(mModel), ANEURALNETWORKS_NO_ERROR); in SetUp() 65 ANEURALNETWORKS_NO_ERROR); in SetUp() 79 ASSERT_EQ(ANeuralNetworksCompilation_finish(mCompilation), ANEURALNETWORKS_NO_ERROR); in SetUp() 82 ANEURALNETWORKS_NO_ERROR); in SetUp() 107 EXPECT_EQ(ANeuralNetworksModel_addOperand(mModel, &floatType), ANEURALNETWORKS_NO_ERROR); in TEST_F() [all …]
|
D | TestPartitioning.cpp | 660 ANEURALNETWORKS_NO_ERROR); in TEST_F() 677 ANEURALNETWORKS_NO_ERROR); in TEST_F() 762 ANEURALNETWORKS_NO_ERROR); in TEST_F()
|
/frameworks/ml/nn/runtime/ |
D | ModelBuilder.cpp | 40 if (n != ANEURALNETWORKS_NO_ERROR) { in addOperand() 57 return ANEURALNETWORKS_NO_ERROR; in addOperand() 111 return ANEURALNETWORKS_NO_ERROR; in setOperandValue() 130 if (n != ANEURALNETWORKS_NO_ERROR) { in copyLargeValuesToSharedMemory() 135 if (n != ANEURALNETWORKS_NO_ERROR) { in copyLargeValuesToSharedMemory() 149 return ANEURALNETWORKS_NO_ERROR; in copyLargeValuesToSharedMemory() 171 return ANEURALNETWORKS_NO_ERROR; in setOperandValueFromMemory() 187 if (n != ANEURALNETWORKS_NO_ERROR) { in addOperation() 192 if (n != ANEURALNETWORKS_NO_ERROR) { in addOperation() 211 return ANEURALNETWORKS_NO_ERROR; in addOperation() [all …]
|
D | ExecutionBuilder.cpp | 38 if (n != ANEURALNETWORKS_NO_ERROR) { in setFromPointer() 52 return ANEURALNETWORKS_NO_ERROR; in setFromPointer() 58 if (n != ANEURALNETWORKS_NO_ERROR) { in setFromMemory() 64 return ANEURALNETWORKS_NO_ERROR; in setFromMemory() 74 return ANEURALNETWORKS_NO_ERROR; in setFromTemporaryMemory() 92 return ANEURALNETWORKS_NO_ERROR; in updateDimensionInfo() 112 if (n != ANEURALNETWORKS_NO_ERROR) { in setInput() 153 if (n != ANEURALNETWORKS_NO_ERROR) { in setOutput() 194 if (executor.startCompute(&fallbackCallback) != ANEURALNETWORKS_NO_ERROR) { in cpuFallbackFull() 215 if (n != ANEURALNETWORKS_NO_ERROR || executor->isCpu()) { in cpuFallbackPartial() [all …]
|
D | ExecutionPlan.cpp | 72 return ANEURALNETWORKS_NO_ERROR; in compile() 147 return ANEURALNETWORKS_NO_ERROR; in addOperand() 163 if (n != ANEURALNETWORKS_NO_ERROR) { in addOperand() 173 if (n != ANEURALNETWORKS_NO_ERROR) { in addOperand() 183 if (n != ANEURALNETWORKS_NO_ERROR) { in addOperand() 190 if (n != ANEURALNETWORKS_NO_ERROR) { in addOperand() 219 return ANEURALNETWORKS_NO_ERROR; in addOperand() 245 if (n != ANEURALNETWORKS_NO_ERROR) in addOperation() 249 return ANEURALNETWORKS_NO_ERROR; in addOperation() 253 if ((n = addOperands(operation.inputs, inputs, INPUT)) != ANEURALNETWORKS_NO_ERROR || in addOperation() [all …]
|
D | CompilationBuilder.cpp | 50 (n != ANEURALNETWORKS_NO_ERROR)) { in finish() 55 return ANEURALNETWORKS_NO_ERROR; in finish() 70 return ANEURALNETWORKS_NO_ERROR; in setPreference() 80 return (*execution ? ANEURALNETWORKS_NO_ERROR : ANEURALNETWORKS_OUT_OF_MEMORY); in createExecution()
|
D | Memory.cpp | 34 return ANEURALNETWORKS_NO_ERROR; in create() 89 return ANEURALNETWORKS_NO_ERROR; in set() 107 return ANEURALNETWORKS_NO_ERROR; in getPointer()
|
D | NeuralNetworks.cpp | 108 static_assert(ANEURALNETWORKS_NO_ERROR == 0, "ANEURALNETWORKS_NO_ERROR has changed"); 227 if (n != ANEURALNETWORKS_NO_ERROR) { in ANeuralNetworksMemory_createFromFd() 231 return ANEURALNETWORKS_NO_ERROR; in ANeuralNetworksMemory_createFromFd() 252 return ANEURALNETWORKS_NO_ERROR; in ANeuralNetworksModel_create() 457 if (n != ANEURALNETWORKS_NO_ERROR) { in ANeuralNetworksExecution_startCompute() 461 return ANEURALNETWORKS_NO_ERROR; in ANeuralNetworksExecution_startCompute() 472 return ANEURALNETWORKS_NO_ERROR; in ANeuralNetworksEvent_wait()
|
D | Memory.h | 52 return ANEURALNETWORKS_NO_ERROR; in getPointer()
|
/frameworks/ml/nn/runtime/include/ |
D | NeuralNetworksWrapper.h | 47 NO_ERROR = ANEURALNETWORKS_NO_ERROR, 75 ANEURALNETWORKS_NO_ERROR; in Memory() 142 ANEURALNETWORKS_NO_ERROR) { in addOperand() 150 ANEURALNETWORKS_NO_ERROR) { in setOperandValue() 158 length) != ANEURALNETWORKS_NO_ERROR) { in setOperandValueFromMemory() 167 outputs.data()) != ANEURALNETWORKS_NO_ERROR) { in addOperation() 176 outputs.data()) != ANEURALNETWORKS_NO_ERROR) { in identifyInputsAndOutputs()
|
D | NeuralNetworks.h | 1239 ANEURALNETWORKS_NO_ERROR = 0, enumerator
|
/frameworks/ml/nn/driver/sample/ |
D | SampleDriver.cpp | 89 n == ANEURALNETWORKS_NO_ERROR ? ErrorStatus::NONE : ErrorStatus::GENERAL_FAILURE; in asyncExecute()
|
/frameworks/ml/nn/common/ |
D | Utils.cpp | 284 return ANEURALNETWORKS_NO_ERROR; in validateOperandType() 296 return ANEURALNETWORKS_NO_ERROR; in validateOperandList()
|
D | CpuExecutor.cpp | 141 if (n != ANEURALNETWORKS_NO_ERROR) { in run() 154 return ANEURALNETWORKS_NO_ERROR; in run() 1251 return ANEURALNETWORKS_NO_ERROR; in executeOperation()
|