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

Function JoinStringField

tensorflow/core/util/equal_graph_def.cc:97–104  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

95namespace {
96
97string JoinStringField(const protobuf::RepeatedPtrField<string>& f) {
98 string ret;
99 for (int i = 0; i < f.size(); ++i) {
100 if (i > 0) strings::StrAppend(&ret, ", ");
101 strings::StrAppend(&ret, f.Get(i));
102 }
103 return ret;
104}
105
106} // namespace
107

Callers 1

EqualNodeDefFunction · 0.85

Calls 3

StrAppendFunction · 0.50
sizeMethod · 0.45
GetMethod · 0.45

Tested by

no test coverage detected