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

Method Get

tensorflow/core/util/rpc/rpc_factory_registry.cc:29–34  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

27}
28
29RPCFactoryRegistry::RPCFactoryFn* RPCFactoryRegistry::Get(
30 const string& protocol) {
31 auto found = fns_.find(protocol);
32 if (found == fns_.end()) return nullptr;
33 return &found->second;
34}
35
36void RPCFactoryRegistry::Register(const string& protocol,
37 const RPCFactoryFn& factory_fn) {

Callers 5

JoinStringFieldFunction · 0.45
CopySliceDataMethod · 0.45
GetDataMethod · 0.45
CheckEntriesMethod · 0.45
TESTFunction · 0.45

Calls 2

findMethod · 0.45
endMethod · 0.45

Tested by 3

GetDataMethod · 0.36
CheckEntriesMethod · 0.36
TESTFunction · 0.36