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

Method Find

tensorflow/core/framework/function.cc:1089–1097  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1087}
1088
1089const FunctionDef* FunctionLibraryDefinition::Find(const string& func) const {
1090 tf_shared_lock l(mu_);
1091 auto result = FindHelper(func);
1092 if (result) {
1093 return &result->fdef;
1094 } else {
1095 return nullptr;
1096 }
1097}
1098
1099std::shared_ptr<FunctionLibraryDefinition::FunctionDefAndOpRegistration>
1100FunctionLibraryDefinition::FindHelper(const string& func) const {

Callers 15

ReplaceNodeFunction · 0.45
GetShapeValueFunction · 0.45
GetNodeAttrFunction · 0.45
ConvertKVOpsMethod · 0.45
TestRemoveAttributesMethod · 0.45
ConvertLibFunctionMethod · 0.45
ConvertLibFunctionMethod · 0.45
ConvertNodeMethod · 0.45

Calls

no outgoing calls

Tested by 12

TestRemoveAttributesMethod · 0.36
TESTFunction · 0.36
TESTFunction · 0.36
TEST_FFunction · 0.36
TESTFunction · 0.36
TESTFunction · 0.36
GetFunctionDefMethod · 0.36
GetFunctionDefAndAttrsFunction · 0.36
CheckIndexFunction · 0.36
TEST_FFunction · 0.36
TESTFunction · 0.36