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

Function MakeInternal

tensorflow/cc/framework/cc_op_gen.cc:1097–1105  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1095}
1096
1097string MakeInternal(const string& fname) {
1098 auto dot_pos = fname.rfind('.');
1099 if (dot_pos == string::npos) {
1100 return strings::StrCat(fname, "_internal");
1101 } else {
1102 return strings::StrCat(fname.substr(0, dot_pos), "_internal",
1103 fname.substr(dot_pos));
1104 }
1105}
1106
1107} // namespace
1108

Callers 1

WriteCCOpsFunction · 0.85

Calls 1

StrCatFunction · 0.50

Tested by

no test coverage detected