• Home
  • Raw
  • Download

Lines Matching refs:execution

842 int ANeuralNetworksExecution_compute(ANeuralNetworksExecution* execution) {  in ANeuralNetworksExecution_compute()  argument
844 if (!execution) { in ANeuralNetworksExecution_compute()
850 ExecutionBuilder* r = reinterpret_cast<ExecutionBuilder*>(execution); in ANeuralNetworksExecution_compute()
854 int ANeuralNetworksExecution_setMeasureTiming(ANeuralNetworksExecution* execution, bool measure) { in ANeuralNetworksExecution_setMeasureTiming() argument
856 if (!execution) { in ANeuralNetworksExecution_setMeasureTiming()
860 ExecutionBuilder* r = reinterpret_cast<ExecutionBuilder*>(execution); in ANeuralNetworksExecution_setMeasureTiming()
864 int ANeuralNetworksExecution_getDuration(const ANeuralNetworksExecution* execution, in ANeuralNetworksExecution_getDuration() argument
867 if (!execution || !duration) { in ANeuralNetworksExecution_getDuration()
882 const ExecutionBuilder* r = reinterpret_cast<const ExecutionBuilder*>(execution); in ANeuralNetworksExecution_getDuration()
908 int ANeuralNetworksExecution_burstCompute(ANeuralNetworksExecution* execution, in ANeuralNetworksExecution_burstCompute() argument
911 if (!execution || !burst) { in ANeuralNetworksExecution_burstCompute()
916 ExecutionBuilder* r = reinterpret_cast<ExecutionBuilder*>(execution); in ANeuralNetworksExecution_burstCompute()
1295 ANeuralNetworksExecution** execution) { in ANeuralNetworksExecution_create() argument
1297 if (!compilation || !execution) { in ANeuralNetworksExecution_create()
1305 *execution = reinterpret_cast<ANeuralNetworksExecution*>(r); in ANeuralNetworksExecution_create()
1309 void ANeuralNetworksExecution_free(ANeuralNetworksExecution* execution) { in ANeuralNetworksExecution_free() argument
1312 ExecutionBuilder* r = reinterpret_cast<ExecutionBuilder*>(execution); in ANeuralNetworksExecution_free()
1321 int ANeuralNetworksExecution_getOutputOperandRank(ANeuralNetworksExecution* execution, in ANeuralNetworksExecution_getOutputOperandRank() argument
1324 if (!execution || !rank) { in ANeuralNetworksExecution_getOutputOperandRank()
1328 ExecutionBuilder* r = reinterpret_cast<ExecutionBuilder*>(execution); in ANeuralNetworksExecution_getOutputOperandRank()
1332 int ANeuralNetworksExecution_getOutputOperandDimensions(ANeuralNetworksExecution* execution, in ANeuralNetworksExecution_getOutputOperandDimensions() argument
1335 if (!execution || !dimensions) { in ANeuralNetworksExecution_getOutputOperandDimensions()
1339 ExecutionBuilder* r = reinterpret_cast<ExecutionBuilder*>(execution); in ANeuralNetworksExecution_getOutputOperandDimensions()
1343 int ANeuralNetworksExecution_setInput(ANeuralNetworksExecution* execution, int32_t index, in ANeuralNetworksExecution_setInput() argument
1347 if (!execution || (!buffer && length != 0)) { in ANeuralNetworksExecution_setInput()
1351 ExecutionBuilder* r = reinterpret_cast<ExecutionBuilder*>(execution); in ANeuralNetworksExecution_setInput()
1355 int ANeuralNetworksExecution_setInputFromMemory(ANeuralNetworksExecution* execution, int32_t index, in ANeuralNetworksExecution_setInputFromMemory() argument
1360 if (!execution || !memory) { in ANeuralNetworksExecution_setInputFromMemory()
1366 ExecutionBuilder* r = reinterpret_cast<ExecutionBuilder*>(execution); in ANeuralNetworksExecution_setInputFromMemory()
1370 int ANeuralNetworksExecution_setOutput(ANeuralNetworksExecution* execution, int32_t index, in ANeuralNetworksExecution_setOutput() argument
1374 if (!execution || (!buffer && length != 0)) { in ANeuralNetworksExecution_setOutput()
1378 ExecutionBuilder* r = reinterpret_cast<ExecutionBuilder*>(execution); in ANeuralNetworksExecution_setOutput()
1382 int ANeuralNetworksExecution_setOutputFromMemory(ANeuralNetworksExecution* execution, int32_t index, in ANeuralNetworksExecution_setOutputFromMemory() argument
1387 if (!execution || !memory) { in ANeuralNetworksExecution_setOutputFromMemory()
1392 ExecutionBuilder* r = reinterpret_cast<ExecutionBuilder*>(execution); in ANeuralNetworksExecution_setOutputFromMemory()
1397 int ANeuralNetworksExecution_startCompute(ANeuralNetworksExecution* execution, in ANeuralNetworksExecution_startCompute() argument
1404 if (!execution) { in ANeuralNetworksExecution_startCompute()
1411 ExecutionBuilder* r = reinterpret_cast<ExecutionBuilder*>(execution); in ANeuralNetworksExecution_startCompute()
1425 int ANeuralNetworksExecution_setTimeout(ANeuralNetworksExecution* execution, uint64_t duration) { in ANeuralNetworksExecution_setTimeout() argument
1427 if (!execution) { in ANeuralNetworksExecution_setTimeout()
1432 ExecutionBuilder* r = reinterpret_cast<ExecutionBuilder*>(execution); in ANeuralNetworksExecution_setTimeout()
1457 int ANeuralNetworksExecution_setLoopTimeout(ANeuralNetworksExecution* execution, in ANeuralNetworksExecution_setLoopTimeout() argument
1460 if (!execution) { in ANeuralNetworksExecution_setLoopTimeout()
1465 ExecutionBuilder* r = reinterpret_cast<ExecutionBuilder*>(execution); in ANeuralNetworksExecution_setLoopTimeout()
1545 int ANeuralNetworksExecution_addExtensionAttribute(ANeuralNetworksExecution* execution, in ANeuralNetworksExecution_addExtensionAttribute() argument
1550 if (!execution || !extensionName || (!data && length != 0)) { in ANeuralNetworksExecution_addExtensionAttribute()
1554 ExecutionBuilder* r = reinterpret_cast<ExecutionBuilder*>(execution); in ANeuralNetworksExecution_addExtensionAttribute()
1597 ANeuralNetworksExecution* execution, const ANeuralNetworksEvent* const* dependencies, in ANeuralNetworksExecution_startComputeWithDependencies() argument
1604 if ((!dependencies && numOfDependencies != 0) || !execution) { in ANeuralNetworksExecution_startComputeWithDependencies()
1609 ExecutionBuilder* r = reinterpret_cast<ExecutionBuilder*>(execution); in ANeuralNetworksExecution_startComputeWithDependencies()
1643 return ANeuralNetworksExecution_startCompute(execution, event); in ANeuralNetworksExecution_startComputeWithDependencies()
1680 int ANeuralNetworksExecution_enableInputAndOutputPadding(ANeuralNetworksExecution* execution, in ANeuralNetworksExecution_enableInputAndOutputPadding() argument
1683 if (!execution) { in ANeuralNetworksExecution_enableInputAndOutputPadding()
1687 ExecutionBuilder* r = reinterpret_cast<ExecutionBuilder*>(execution); in ANeuralNetworksExecution_enableInputAndOutputPadding()
1743 int ANeuralNetworksExecution_setReusable(ANeuralNetworksExecution* execution, bool reusable) { in ANeuralNetworksExecution_setReusable() argument
1745 if (!execution) { in ANeuralNetworksExecution_setReusable()
1749 ExecutionBuilder* r = reinterpret_cast<ExecutionBuilder*>(execution); in ANeuralNetworksExecution_setReusable()