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

Function IsWorker

tensorflow/contrib/star/seastar/seastar_engine.cc:85–87  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

83 }
84
85 bool IsWorker(const std::string& name) {
86 return name == "worker" || name == "chief";
87 }
88
89 size_t GetCoreNumber(const std::string& job_name, size_t total_connections) {
90 if (total_connections == 0) {

Callers 3

GetCoreNumberFunction · 0.85
DisablePinCoresFunction · 0.85
EnablePollingFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected