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

Method ListFunctionNames

tensorflow/core/framework/function.cc:1415–1423  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1413}
1414
1415std::vector<string> FunctionLibraryDefinition::ListFunctionNames() const {
1416 std::vector<string> function_names;
1417 tf_shared_lock l(mu_);
1418 function_names.reserve(function_defs_.size());
1419 for (const auto& it : function_defs_) {
1420 function_names.emplace_back(it.first);
1421 }
1422 return function_names;
1423}
1424
1425FunctionDefLibrary FunctionLibraryDefinition::ToProto() const {
1426 FunctionDefLibrary lib;

Callers 6

ConvertMethod · 0.80
TESTFunction · 0.80
ReachableFunctionsFunction · 0.80
AddToFunctionLibraryFunction · 0.80
CheckExternalStateMethod · 0.80

Calls 3

reserveMethod · 0.45
sizeMethod · 0.45
emplace_backMethod · 0.45

Tested by 1

TESTFunction · 0.64