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

Method SetMaxNumThreads

tensorflow/lite/kernels/cpu_backend_context.cc:58–62  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

56CpuBackendContext::~CpuBackendContext() {}
57
58void CpuBackendContext::SetMaxNumThreads(int max_num_threads) {
59 max_num_threads_ = max_num_threads;
60 ruy_context_->max_num_threads = max_num_threads;
61 gemmlowp_context_->set_max_num_threads(max_num_threads);
62}
63
64} // namespace tflite

Callers 5

GetFromContextMethod · 0.80
TestSomeGemmFunction · 0.80
DispatchDepthwiseConvFunction · 0.80

Calls

no outgoing calls

Tested by 3

TestSomeGemmFunction · 0.64
DispatchDepthwiseConvFunction · 0.64