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

Method GetName

tensorflow/core/common_runtime/partitioning_utils.cc:143–150  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

141}
142
143string FunctionNameGenerator::GetName() {
144 for (;; ++counter_) {
145 const string candidate = strings::StrCat(name_, "_", counter_);
146 if (flib_def_->Find(candidate) == nullptr) {
147 return candidate;
148 }
149 }
150}
151
152} // namespace tensorflow

Callers 15

TEST_FFunction · 0.45
TESTFunction · 0.45
TYPED_TESTFunction · 0.45
CompareGraphOrderMethod · 0.45
UpdateNameFunction · 0.45
AddOrUpdateRegularFaninFunction · 0.45
IsWellFormedFunction · 0.45
FixRenamedNodesMethod · 0.45

Calls 2

StrCatFunction · 0.50
FindMethod · 0.45

Tested by 11

TEST_FFunction · 0.36
TESTFunction · 0.36
TYPED_TESTFunction · 0.36
CompareGraphOrderMethod · 0.36
GetUpdatedNodeNamesFunction · 0.36
VerifyRegularFaninMatchFunction · 0.36
TEST_FFunction · 0.36
VerifyRegularFaninMatchFunction · 0.36
VerifyRegularFanoutMatchFunction · 0.36
TEST_FFunction · 0.36