Lines Matching refs:execution

800 int ANeuralNetworksExecution_compute(ANeuralNetworksExecution* execution) {  in ANeuralNetworksExecution_compute()  argument
802 if (!execution) { in ANeuralNetworksExecution_compute()
808 ExecutionBuilder* r = reinterpret_cast<ExecutionBuilder*>(execution); in ANeuralNetworksExecution_compute()
812 int ANeuralNetworksExecution_setMeasureTiming(ANeuralNetworksExecution* execution, bool measure) { in ANeuralNetworksExecution_setMeasureTiming() argument
814 if (!execution) { in ANeuralNetworksExecution_setMeasureTiming()
818 ExecutionBuilder* r = reinterpret_cast<ExecutionBuilder*>(execution); in ANeuralNetworksExecution_setMeasureTiming()
822 int ANeuralNetworksExecution_getDuration(const ANeuralNetworksExecution* execution, in ANeuralNetworksExecution_getDuration() argument
825 if (!execution || !duration) { in ANeuralNetworksExecution_getDuration()
840 const ExecutionBuilder* r = reinterpret_cast<const ExecutionBuilder*>(execution); in ANeuralNetworksExecution_getDuration()
866 int ANeuralNetworksExecution_burstCompute(ANeuralNetworksExecution* execution, in ANeuralNetworksExecution_burstCompute() argument
869 if (!execution || !burst) { in ANeuralNetworksExecution_burstCompute()
874 ExecutionBuilder* r = reinterpret_cast<ExecutionBuilder*>(execution); in ANeuralNetworksExecution_burstCompute()
1235 ANeuralNetworksExecution** execution) { in ANeuralNetworksExecution_create() argument
1237 if (!compilation || !execution) { in ANeuralNetworksExecution_create()
1245 *execution = reinterpret_cast<ANeuralNetworksExecution*>(r); in ANeuralNetworksExecution_create()
1249 void ANeuralNetworksExecution_free(ANeuralNetworksExecution* execution) { in ANeuralNetworksExecution_free() argument
1252 ExecutionBuilder* r = reinterpret_cast<ExecutionBuilder*>(execution); in ANeuralNetworksExecution_free()
1261 int ANeuralNetworksExecution_getOutputOperandRank(ANeuralNetworksExecution* execution, in ANeuralNetworksExecution_getOutputOperandRank() argument
1264 if (!execution || !rank) { in ANeuralNetworksExecution_getOutputOperandRank()
1268 ExecutionBuilder* r = reinterpret_cast<ExecutionBuilder*>(execution); in ANeuralNetworksExecution_getOutputOperandRank()
1272 int ANeuralNetworksExecution_getOutputOperandDimensions(ANeuralNetworksExecution* execution, in ANeuralNetworksExecution_getOutputOperandDimensions() argument
1275 if (!execution || !dimensions) { in ANeuralNetworksExecution_getOutputOperandDimensions()
1279 ExecutionBuilder* r = reinterpret_cast<ExecutionBuilder*>(execution); in ANeuralNetworksExecution_getOutputOperandDimensions()
1283 int ANeuralNetworksExecution_setInput(ANeuralNetworksExecution* execution, int32_t index, in ANeuralNetworksExecution_setInput() argument
1287 if (!execution || (!buffer && length != 0)) { in ANeuralNetworksExecution_setInput()
1291 ExecutionBuilder* r = reinterpret_cast<ExecutionBuilder*>(execution); in ANeuralNetworksExecution_setInput()
1295 int ANeuralNetworksExecution_setInputFromMemory(ANeuralNetworksExecution* execution, int32_t index, in ANeuralNetworksExecution_setInputFromMemory() argument
1300 if (!execution || !memory) { in ANeuralNetworksExecution_setInputFromMemory()
1306 ExecutionBuilder* r = reinterpret_cast<ExecutionBuilder*>(execution); in ANeuralNetworksExecution_setInputFromMemory()
1310 int ANeuralNetworksExecution_setOutput(ANeuralNetworksExecution* execution, int32_t index, in ANeuralNetworksExecution_setOutput() argument
1314 if (!execution || (!buffer && length != 0)) { in ANeuralNetworksExecution_setOutput()
1318 ExecutionBuilder* r = reinterpret_cast<ExecutionBuilder*>(execution); in ANeuralNetworksExecution_setOutput()
1322 int ANeuralNetworksExecution_setOutputFromMemory(ANeuralNetworksExecution* execution, int32_t index, in ANeuralNetworksExecution_setOutputFromMemory() argument
1327 if (!execution || !memory) { in ANeuralNetworksExecution_setOutputFromMemory()
1332 ExecutionBuilder* r = reinterpret_cast<ExecutionBuilder*>(execution); in ANeuralNetworksExecution_setOutputFromMemory()
1337 int ANeuralNetworksExecution_startCompute(ANeuralNetworksExecution* execution, in ANeuralNetworksExecution_startCompute() argument
1344 if (!execution) { in ANeuralNetworksExecution_startCompute()
1351 ExecutionBuilder* r = reinterpret_cast<ExecutionBuilder*>(execution); in ANeuralNetworksExecution_startCompute()
1371 int ANeuralNetworksExecution_setTimeout(ANeuralNetworksExecution* execution, uint64_t duration) { in ANeuralNetworksExecution_setTimeout() argument
1373 if (!execution) { in ANeuralNetworksExecution_setTimeout()
1378 ExecutionBuilder* r = reinterpret_cast<ExecutionBuilder*>(execution); in ANeuralNetworksExecution_setTimeout()
1404 int ANeuralNetworksExecution_setLoopTimeout(ANeuralNetworksExecution* execution, in ANeuralNetworksExecution_setLoopTimeout() argument
1407 if (!execution) { in ANeuralNetworksExecution_setLoopTimeout()
1412 ExecutionBuilder* r = reinterpret_cast<ExecutionBuilder*>(execution); in ANeuralNetworksExecution_setLoopTimeout()
1517 ANeuralNetworksExecution* execution, const ANeuralNetworksEvent* const* dependencies, in ANeuralNetworksExecution_startComputeWithDependencies() argument
1524 if ((!dependencies && numOfDependencies != 0) || !execution) { in ANeuralNetworksExecution_startComputeWithDependencies()
1529 ExecutionBuilder* r = reinterpret_cast<ExecutionBuilder*>(execution); in ANeuralNetworksExecution_startComputeWithDependencies()