MCPcopy Create free account
hub / github.com/DeepRec-AI/DeepRec / Refresh

Function Refresh

tensorflow/lite/kernels/eigen_support.cc:132–141  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

130}
131
132TfLiteStatus Refresh(TfLiteContext* context) {
133 SetEigenNbThreads(context->recommended_num_threads);
134
135 auto* ptr = GetEigenContext(context);
136 if (ptr != nullptr) {
137 ptr->thread_pool_holder->SetNumThreads(context->recommended_num_threads);
138 }
139
140 return kTfLiteOk;
141}
142
143} // namespace
144

Callers

nothing calls this directly

Calls 3

SetEigenNbThreadsFunction · 0.85
GetEigenContextFunction · 0.85
SetNumThreadsMethod · 0.45

Tested by

no test coverage detected