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

Method NumThreads

tensorflow/core/framework/run_handler.cc:717–719  ·  view source on GitHub ↗

It is important to return a value such as: CurrentThreadId() in [0, NumThreads)

Source from the content-addressed store, hash-verified

715// It is important to return a value such as:
716// CurrentThreadId() in [0, NumThreads)
717int RunHandler::Impl::ThreadPoolInterfaceWrapper::NumThreads() const {
718 return run_handler_impl_->pool_impl_->run_handler_thread_pool()->NumThreads();
719}
720
721int RunHandler::Impl::ThreadPoolInterfaceWrapper::CurrentThreadId() const {
722 return run_handler_impl_->pool_impl_->run_handler_thread_pool()

Callers 3

ParamsMethod · 0.45
TESTFunction · 0.45

Calls 1

Tested by 1

TESTFunction · 0.36