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

Method AddHostPortsJob

tensorflow/core/distributed_runtime/rpc/grpc_channel.cc:123–130  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

121}
122
123Status GrpcChannelSpec::AddHostPortsJob(const string& job_id,
124 const std::vector<string>& host_ports) {
125 std::map<int, string> host_ports_map;
126 for (size_t i = 0; i < host_ports.size(); ++i) {
127 host_ports_map[i] = host_ports[i];
128 }
129 return AddHostPortsJob(job_id, host_ports_map);
130}
131
132Status GrpcChannelSpec::AddHostPortsJob(
133 const string& job_id, const std::map<int, string>& host_ports) {

Callers 4

RemoteDeviceTestMethod · 0.45
TESTFunction · 0.45
ParseChannelSpecMethod · 0.45

Calls 5

InvalidArgumentFunction · 0.85
ValidateHostPortPairFunction · 0.70
sizeMethod · 0.45
insertMethod · 0.45
emplace_backMethod · 0.45

Tested by 3

RemoteDeviceTestMethod · 0.36
TESTFunction · 0.36