Lines Matching refs:execution
865 int ANeuralNetworksExecution_compute(ANeuralNetworksExecution* execution) { in ANeuralNetworksExecution_compute() argument
867 if (!execution) { in ANeuralNetworksExecution_compute()
873 ExecutionBuilder* r = reinterpret_cast<ExecutionBuilder*>(execution); in ANeuralNetworksExecution_compute()
877 int ANeuralNetworksExecution_setMeasureTiming(ANeuralNetworksExecution* execution, bool measure) { in ANeuralNetworksExecution_setMeasureTiming() argument
879 if (!execution) { in ANeuralNetworksExecution_setMeasureTiming()
883 ExecutionBuilder* r = reinterpret_cast<ExecutionBuilder*>(execution); in ANeuralNetworksExecution_setMeasureTiming()
887 int ANeuralNetworksExecution_getDuration(const ANeuralNetworksExecution* execution, in ANeuralNetworksExecution_getDuration() argument
890 if (!execution || !duration) { in ANeuralNetworksExecution_getDuration()
905 const ExecutionBuilder* r = reinterpret_cast<const ExecutionBuilder*>(execution); in ANeuralNetworksExecution_getDuration()
931 int ANeuralNetworksExecution_burstCompute(ANeuralNetworksExecution* execution, in ANeuralNetworksExecution_burstCompute() argument
934 if (!execution || !burst) { in ANeuralNetworksExecution_burstCompute()
939 ExecutionBuilder* r = reinterpret_cast<ExecutionBuilder*>(execution); in ANeuralNetworksExecution_burstCompute()
1318 ANeuralNetworksExecution** execution) { in ANeuralNetworksExecution_create() argument
1320 if (!compilation || !execution) { in ANeuralNetworksExecution_create()
1328 *execution = reinterpret_cast<ANeuralNetworksExecution*>(r); in ANeuralNetworksExecution_create()
1332 void ANeuralNetworksExecution_free(ANeuralNetworksExecution* execution) { in ANeuralNetworksExecution_free() argument
1335 ExecutionBuilder* r = reinterpret_cast<ExecutionBuilder*>(execution); in ANeuralNetworksExecution_free()
1344 int ANeuralNetworksExecution_getOutputOperandRank(ANeuralNetworksExecution* execution, in ANeuralNetworksExecution_getOutputOperandRank() argument
1347 if (!execution || !rank) { in ANeuralNetworksExecution_getOutputOperandRank()
1351 ExecutionBuilder* r = reinterpret_cast<ExecutionBuilder*>(execution); in ANeuralNetworksExecution_getOutputOperandRank()
1355 int ANeuralNetworksExecution_getOutputOperandDimensions(ANeuralNetworksExecution* execution, in ANeuralNetworksExecution_getOutputOperandDimensions() argument
1358 if (!execution || !dimensions) { in ANeuralNetworksExecution_getOutputOperandDimensions()
1362 ExecutionBuilder* r = reinterpret_cast<ExecutionBuilder*>(execution); in ANeuralNetworksExecution_getOutputOperandDimensions()
1366 int ANeuralNetworksExecution_setInput(ANeuralNetworksExecution* execution, int32_t index, in ANeuralNetworksExecution_setInput() argument
1370 if (!execution || (!buffer && length != 0)) { in ANeuralNetworksExecution_setInput()
1374 ExecutionBuilder* r = reinterpret_cast<ExecutionBuilder*>(execution); in ANeuralNetworksExecution_setInput()
1378 int ANeuralNetworksExecution_setInputFromMemory(ANeuralNetworksExecution* execution, int32_t index, in ANeuralNetworksExecution_setInputFromMemory() argument
1383 if (!execution || !memory) { in ANeuralNetworksExecution_setInputFromMemory()
1389 ExecutionBuilder* r = reinterpret_cast<ExecutionBuilder*>(execution); in ANeuralNetworksExecution_setInputFromMemory()
1393 int ANeuralNetworksExecution_setOutput(ANeuralNetworksExecution* execution, int32_t index, in ANeuralNetworksExecution_setOutput() argument
1397 if (!execution || (!buffer && length != 0)) { in ANeuralNetworksExecution_setOutput()
1401 ExecutionBuilder* r = reinterpret_cast<ExecutionBuilder*>(execution); in ANeuralNetworksExecution_setOutput()
1405 int ANeuralNetworksExecution_setOutputFromMemory(ANeuralNetworksExecution* execution, int32_t index, in ANeuralNetworksExecution_setOutputFromMemory() argument
1410 if (!execution || !memory) { in ANeuralNetworksExecution_setOutputFromMemory()
1415 ExecutionBuilder* r = reinterpret_cast<ExecutionBuilder*>(execution); in ANeuralNetworksExecution_setOutputFromMemory()
1420 int ANeuralNetworksExecution_startCompute(ANeuralNetworksExecution* execution, in ANeuralNetworksExecution_startCompute() argument
1427 if (!execution) { in ANeuralNetworksExecution_startCompute()
1434 ExecutionBuilder* r = reinterpret_cast<ExecutionBuilder*>(execution); in ANeuralNetworksExecution_startCompute()
1448 int ANeuralNetworksExecution_setTimeout(ANeuralNetworksExecution* execution, uint64_t duration) { in ANeuralNetworksExecution_setTimeout() argument
1450 if (!execution) { in ANeuralNetworksExecution_setTimeout()
1455 ExecutionBuilder* r = reinterpret_cast<ExecutionBuilder*>(execution); in ANeuralNetworksExecution_setTimeout()
1480 int ANeuralNetworksExecution_setLoopTimeout(ANeuralNetworksExecution* execution, in ANeuralNetworksExecution_setLoopTimeout() argument
1483 if (!execution) { in ANeuralNetworksExecution_setLoopTimeout()
1488 ExecutionBuilder* r = reinterpret_cast<ExecutionBuilder*>(execution); in ANeuralNetworksExecution_setLoopTimeout()
1568 int ANeuralNetworksExecution_addExtensionAttribute(ANeuralNetworksExecution* execution, in ANeuralNetworksExecution_addExtensionAttribute() argument
1573 if (!execution || !extensionName || (!data && length != 0)) { in ANeuralNetworksExecution_addExtensionAttribute()
1577 ExecutionBuilder* r = reinterpret_cast<ExecutionBuilder*>(execution); in ANeuralNetworksExecution_addExtensionAttribute()
1620 ANeuralNetworksExecution* execution, const ANeuralNetworksEvent* const* dependencies, in ANeuralNetworksExecution_startComputeWithDependencies() argument
1627 if ((!dependencies && numOfDependencies != 0) || !execution) { in ANeuralNetworksExecution_startComputeWithDependencies()
1632 ExecutionBuilder* r = reinterpret_cast<ExecutionBuilder*>(execution); in ANeuralNetworksExecution_startComputeWithDependencies()
1666 return ANeuralNetworksExecution_startCompute(execution, event); in ANeuralNetworksExecution_startComputeWithDependencies()
1691 int ANeuralNetworksExecution_enableInputAndOutputPadding(ANeuralNetworksExecution* execution, in ANeuralNetworksExecution_enableInputAndOutputPadding() argument
1694 if (!execution) { in ANeuralNetworksExecution_enableInputAndOutputPadding()
1698 ExecutionBuilder* r = reinterpret_cast<ExecutionBuilder*>(execution); in ANeuralNetworksExecution_enableInputAndOutputPadding()
1754 int ANeuralNetworksExecution_setReusable(ANeuralNetworksExecution* execution, bool reusable) { in ANeuralNetworksExecution_setReusable() argument
1756 if (!execution) { in ANeuralNetworksExecution_setReusable()
1760 ExecutionBuilder* r = reinterpret_cast<ExecutionBuilder*>(execution); in ANeuralNetworksExecution_setReusable()