Searched refs:recommended_num_threads (Results 1 – 12 of 12) sorted by relevance
29 recommended_num_threads = -1; in TestTfLiteContext()65 context.recommended_num_threads = 1; in TEST()86 context.recommended_num_threads = 2; in TEST()106 context.recommended_num_threads = 1; in TEST()113 context.recommended_num_threads = 3; in TEST()121 context.recommended_num_threads = -1; in TEST()128 context.recommended_num_threads = 0; in TEST()135 context.recommended_num_threads = 3; in TEST()143 context.recommended_num_threads = -5; in TEST()
140 if (IsValidNumThreads(context->recommended_num_threads)) { in Refresh()141 SetEigenNbThreads(GetNumThreads(context->recommended_num_threads)); in Refresh()146 ptr->thread_pool_holder->SetNumThreads(context->recommended_num_threads); in Refresh()157 if (IsValidNumThreads(context->recommended_num_threads)) { in IncrementUsageCounter()158 SetEigenNbThreads(context->recommended_num_threads); in IncrementUsageCounter()164 new LazyEigenThreadPoolHolder(context->recommended_num_threads)); in IncrementUsageCounter()
117 cpu_backend_context->SetMaxNumThreads(context->recommended_num_threads); in GetFromContext()
393 (context->recommended_num_threads != 1) && !is_hybrid && in Prepare()
26 context->recommended_num_threads != -1) { in RefreshExternalCpuBackendContext()28 context->recommended_num_threads); in RefreshExternalCpuBackendContext()
358 subgraph->context()->recommended_num_threads = num_threads; in SetNumThreads()
66 if (context->recommended_num_threads > 0) { in Initialize()68 context->recommended_num_threads); in Initialize()
44 context_.recommended_num_threads = 1; in KernelRunner()
54 context.recommended_num_threads = 1; in PopulateContext()
676 int recommended_num_threads; member
175 context_.recommended_num_threads = 1; in Init()
227 context_.recommended_num_threads = -1; in Subgraph()