Searched defs:execution (Results 1 - 4 of 4) sorted by relevance
/frameworks/ml/nn/runtime/ |
H A D | CompilationBuilder.cpp | 100 int CompilationBuilder::createExecution(ExecutionBuilder **execution) { argument 103 *execution = nullptr; 106 *execution = new (std::nothrow) ExecutionBuilder(this); 107 return (*execution ? ANEURALNETWORKS_NO_ERROR : ANEURALNETWORKS_OUT_OF_MEMORY);
|
H A D | NeuralNetworks.cpp | 409 ANeuralNetworksExecution** execution) { 410 if (!compilation || !execution) { 418 *execution = reinterpret_cast<ANeuralNetworksExecution*>(r); 422 void ANeuralNetworksExecution_free(ANeuralNetworksExecution* execution) { argument 423 // TODO specification says that an execution-in-flight can be deleted 425 ExecutionBuilder* r = reinterpret_cast<ExecutionBuilder*>(execution); 429 int ANeuralNetworksExecution_setInput(ANeuralNetworksExecution* execution, int32_t index, argument 432 if (!execution || (!buffer && length != 0)) { 436 ExecutionBuilder* r = reinterpret_cast<ExecutionBuilder*>(execution); 440 int ANeuralNetworksExecution_setInputFromMemory(ANeuralNetworksExecution* execution, int32_ argument 408 ANeuralNetworksExecution_create(ANeuralNetworksCompilation* compilation, ANeuralNetworksExecution** execution) argument 454 ANeuralNetworksExecution_setOutput(ANeuralNetworksExecution* execution, int32_t index, const ANeuralNetworksOperandType* type, void* buffer, size_t length) argument 465 ANeuralNetworksExecution_setOutputFromMemory(ANeuralNetworksExecution* execution, int32_t index, const ANeuralNetworksOperandType* type, const ANeuralNetworksMemory* memory, size_t offset, size_t length) argument 479 ANeuralNetworksExecution_startCompute(ANeuralNetworksExecution* execution, ANeuralNetworksEvent** event) argument [all...] |
/frameworks/ml/nn/runtime/test/ |
H A D | TestValidation.cpp | 413 ANeuralNetworksExecution* execution = nullptr; local 414 EXPECT_EQ(ANeuralNetworksExecution_create(nullptr, &execution), 418 EXPECT_EQ(ANeuralNetworksExecution_create(mCompilation, &execution), 432 ANeuralNetworksExecution* execution; local 433 EXPECT_EQ(ANeuralNetworksExecution_create(mCompilation, &execution), ANEURALNETWORKS_NO_ERROR); 438 EXPECT_EQ(ANeuralNetworksExecution_setInput(execution, 0, nullptr, nullptr, sizeof(float)), 442 EXPECT_EQ(ANeuralNetworksExecution_setInput(execution, 0, nullptr, buffer, 20), 446 EXPECT_EQ(ANeuralNetworksExecution_setInput(execution, 999, nullptr, buffer, sizeof(float)), 450 EXPECT_EQ(ANeuralNetworksExecution_setInput(execution, -1, nullptr, buffer, sizeof(float)), 455 ANeuralNetworksExecution* execution; local 478 ANeuralNetworksExecution* execution; local 524 ANeuralNetworksExecution* execution; local 570 ANeuralNetworksExecution* execution; local [all...] |
H A D | TestExecution.cpp | 52 // Wraps an IPreparedModel to allow dummying up the execution status. 56 // the actual execution status). Otherwise, don't bother to execute, and 57 // just send back errorStatus (as the execution status, not the launch 79 // Allow dummying up the error status for execution of all models 81 // execute behaves normally (and sends back the actual execution 83 // back errorStatus (as the execution status, not the launch 149 // TestDriver reports an execution failure, we'll re-execute 156 // normally (and sends back the actual execution status). 158 // errorStatus (as the execution status, not the launch status). 186 // Allow dummying up the error status for execution 200 setInputOutput(WrapperExecution* execution) argument [all...] |
Completed in 115 milliseconds