Lines Matching refs:execution
825 int ANeuralNetworksExecution_compute(ANeuralNetworksExecution* execution) { in ANeuralNetworksExecution_compute() argument
827 if (!execution) { in ANeuralNetworksExecution_compute()
833 ExecutionBuilder* r = reinterpret_cast<ExecutionBuilder*>(execution); in ANeuralNetworksExecution_compute()
837 int ANeuralNetworksExecution_setMeasureTiming(ANeuralNetworksExecution* execution, bool measure) { in ANeuralNetworksExecution_setMeasureTiming() argument
839 if (!execution) { in ANeuralNetworksExecution_setMeasureTiming()
843 ExecutionBuilder* r = reinterpret_cast<ExecutionBuilder*>(execution); in ANeuralNetworksExecution_setMeasureTiming()
847 int ANeuralNetworksExecution_getDuration(const ANeuralNetworksExecution* execution, in ANeuralNetworksExecution_getDuration() argument
850 if (!execution || !duration) { in ANeuralNetworksExecution_getDuration()
865 const ExecutionBuilder* r = reinterpret_cast<const ExecutionBuilder*>(execution); in ANeuralNetworksExecution_getDuration()
891 int ANeuralNetworksExecution_burstCompute(ANeuralNetworksExecution* execution, in ANeuralNetworksExecution_burstCompute() argument
894 if (!execution || !burst) { in ANeuralNetworksExecution_burstCompute()
899 ExecutionBuilder* r = reinterpret_cast<ExecutionBuilder*>(execution); in ANeuralNetworksExecution_burstCompute()
1267 ANeuralNetworksExecution** execution) { in ANeuralNetworksExecution_create() argument
1269 if (!compilation || !execution) { in ANeuralNetworksExecution_create()
1277 *execution = reinterpret_cast<ANeuralNetworksExecution*>(r); in ANeuralNetworksExecution_create()
1281 void ANeuralNetworksExecution_free(ANeuralNetworksExecution* execution) { in ANeuralNetworksExecution_free() argument
1284 ExecutionBuilder* r = reinterpret_cast<ExecutionBuilder*>(execution); in ANeuralNetworksExecution_free()
1293 int ANeuralNetworksExecution_getOutputOperandRank(ANeuralNetworksExecution* execution, in ANeuralNetworksExecution_getOutputOperandRank() argument
1296 if (!execution || !rank) { in ANeuralNetworksExecution_getOutputOperandRank()
1300 ExecutionBuilder* r = reinterpret_cast<ExecutionBuilder*>(execution); in ANeuralNetworksExecution_getOutputOperandRank()
1304 int ANeuralNetworksExecution_getOutputOperandDimensions(ANeuralNetworksExecution* execution, in ANeuralNetworksExecution_getOutputOperandDimensions() argument
1307 if (!execution || !dimensions) { in ANeuralNetworksExecution_getOutputOperandDimensions()
1311 ExecutionBuilder* r = reinterpret_cast<ExecutionBuilder*>(execution); in ANeuralNetworksExecution_getOutputOperandDimensions()
1315 int ANeuralNetworksExecution_setInput(ANeuralNetworksExecution* execution, int32_t index, in ANeuralNetworksExecution_setInput() argument
1319 if (!execution || (!buffer && length != 0)) { in ANeuralNetworksExecution_setInput()
1323 ExecutionBuilder* r = reinterpret_cast<ExecutionBuilder*>(execution); in ANeuralNetworksExecution_setInput()
1327 int ANeuralNetworksExecution_setInputFromMemory(ANeuralNetworksExecution* execution, int32_t index, in ANeuralNetworksExecution_setInputFromMemory() argument
1332 if (!execution || !memory) { in ANeuralNetworksExecution_setInputFromMemory()
1338 ExecutionBuilder* r = reinterpret_cast<ExecutionBuilder*>(execution); in ANeuralNetworksExecution_setInputFromMemory()
1342 int ANeuralNetworksExecution_setOutput(ANeuralNetworksExecution* execution, int32_t index, in ANeuralNetworksExecution_setOutput() argument
1346 if (!execution || (!buffer && length != 0)) { in ANeuralNetworksExecution_setOutput()
1350 ExecutionBuilder* r = reinterpret_cast<ExecutionBuilder*>(execution); in ANeuralNetworksExecution_setOutput()
1354 int ANeuralNetworksExecution_setOutputFromMemory(ANeuralNetworksExecution* execution, int32_t index, in ANeuralNetworksExecution_setOutputFromMemory() argument
1359 if (!execution || !memory) { in ANeuralNetworksExecution_setOutputFromMemory()
1364 ExecutionBuilder* r = reinterpret_cast<ExecutionBuilder*>(execution); in ANeuralNetworksExecution_setOutputFromMemory()
1369 int ANeuralNetworksExecution_startCompute(ANeuralNetworksExecution* execution, in ANeuralNetworksExecution_startCompute() argument
1376 if (!execution) { in ANeuralNetworksExecution_startCompute()
1383 ExecutionBuilder* r = reinterpret_cast<ExecutionBuilder*>(execution); in ANeuralNetworksExecution_startCompute()
1397 int ANeuralNetworksExecution_setTimeout(ANeuralNetworksExecution* execution, uint64_t duration) { in ANeuralNetworksExecution_setTimeout() argument
1399 if (!execution) { in ANeuralNetworksExecution_setTimeout()
1404 ExecutionBuilder* r = reinterpret_cast<ExecutionBuilder*>(execution); in ANeuralNetworksExecution_setTimeout()
1429 int ANeuralNetworksExecution_setLoopTimeout(ANeuralNetworksExecution* execution, in ANeuralNetworksExecution_setLoopTimeout() argument
1432 if (!execution) { in ANeuralNetworksExecution_setLoopTimeout()
1437 ExecutionBuilder* r = reinterpret_cast<ExecutionBuilder*>(execution); in ANeuralNetworksExecution_setLoopTimeout()
1543 ANeuralNetworksExecution* execution, const ANeuralNetworksEvent* const* dependencies, in ANeuralNetworksExecution_startComputeWithDependencies() argument
1550 if ((!dependencies && numOfDependencies != 0) || !execution) { in ANeuralNetworksExecution_startComputeWithDependencies()
1555 ExecutionBuilder* r = reinterpret_cast<ExecutionBuilder*>(execution); in ANeuralNetworksExecution_startComputeWithDependencies()
1589 return ANeuralNetworksExecution_startCompute(execution, event); in ANeuralNetworksExecution_startComputeWithDependencies()
1612 int ANeuralNetworksExecution_enableInputAndOutputPadding(ANeuralNetworksExecution* execution, in ANeuralNetworksExecution_enableInputAndOutputPadding() argument
1615 if (!execution) { in ANeuralNetworksExecution_enableInputAndOutputPadding()
1619 ExecutionBuilder* r = reinterpret_cast<ExecutionBuilder*>(execution); in ANeuralNetworksExecution_enableInputAndOutputPadding()
1675 int ANeuralNetworksExecution_setReusable(ANeuralNetworksExecution* execution, bool reusable) { in ANeuralNetworksExecution_setReusable() argument
1677 if (!execution) { in ANeuralNetworksExecution_setReusable()
1681 ExecutionBuilder* r = reinterpret_cast<ExecutionBuilder*>(execution); in ANeuralNetworksExecution_setReusable()