Searched refs:reusable (Results 1 – 18 of 18) sorted by relevance
673 void TestWait(bool reusable);739 void computeHelper(bool reusable, const std::function<void()>& compute) { in computeHelper() argument741 SCOPED_TRACE(reusable ? "first time reusable" : "non-reusable"); in computeHelper()744 if (reusable) { in computeHelper()751 void ExecutionTestTemplate<DriverClass>::TestWait(bool reusable) { in TestWait() argument763 ASSERT_EQ(execution.setReusable(reusable), WrapperResult::NO_ERROR); in TestWait()786 computeHelper(reusable, compute); in TestWait()791 ASSERT_EQ(execution.setReusable(reusable), WrapperResult::NO_ERROR); in TestWait()813 computeHelper(reusable, compute); in TestWait()823 ASSERT_EQ(execution.setReusable(reusable), WrapperResult::NO_ERROR); in TestWait()[all …]
446 Result setReusable(bool reusable) { in setReusable() argument449 NNAPI_CALL(ANeuralNetworksExecution_setReusable(mExecution, reusable))); in setReusable()
1438 static void testConcurrentExecution(bool reusable, ANeuralNetworksCompilation* compilation) { in testConcurrentExecution() argument1502 ASSERT_EQ(ANeuralNetworksExecution_setReusable(execution, reusable), in testConcurrentExecution()1505 if (reusable) { in testConcurrentExecution()1530 if (!reusable) { in testConcurrentExecution()
85 int setReusable(bool reusable);324 std::shared_ptr<RuntimePreparedModel> preparedModel, bool reusable,
469 int ExecutionBuilder::setReusable(bool reusable) { in setReusable() argument475 mReusable = reusable; in setReusable()1315 std::shared_ptr<RuntimePreparedModel> preparedModel, bool reusable, in StepExecutor() argument1325 mReusable(reusable) { in StepExecutor()1328 CHECK(!(reusable && dynamicTemporaries != nullptr)); in StepExecutor()
1675 int ANeuralNetworksExecution_setReusable(ANeuralNetworksExecution* execution, bool reusable) { in ANeuralNetworksExecution_setReusable() argument1682 return r->setReusable(reusable); in ANeuralNetworksExecution_setReusable()
700 std::shared_ptr<StepExecutor> makeStepExecutor(bool reusable,
1836 bool reusable, ExecutionBuilder* executionBuilder) const { in makeStepExecutor() argument1840 reusable); in makeStepExecutor()
113 // Return inside each then() to create readable and reusable Promise chains.
651 Result setReusable(bool reusable) { argument654 NNAPI_CALL(ANeuralNetworksExecution_setReusable(mExecution, reusable)));
2228 int ANeuralNetworksExecution_setReusable(ANeuralNetworksExecution* execution, bool reusable)
575 Result setReusable(bool reusable) { in setReusable() argument577 mNnApi->ANeuralNetworksExecution_setReusable(mExecution, reusable)); in setReusable()
650 int (*ANeuralNetworksExecution_setReusable)(ANeuralNetworksExecution* execution, bool reusable);
456 * If the execution has been marked as reusable, then you can485 * {@link ANeuralNetworksExecution_setReusable} to set an execution to be reusable for multiple487 * state of a reusable execution. The execution cannot be modified between computations.</p>
1dictionary=main:en_gb,locale=en_GB,description=English (UK),date ...
1dictionary=main:en,locale=en,description=English,date=1414726273, ...