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

Method Contains

tensorflow/core/framework/function.cc:1084–1087  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1082FunctionLibraryDefinition::~FunctionLibraryDefinition() {}
1083
1084bool FunctionLibraryDefinition::Contains(const string& func) const {
1085 tf_shared_lock l(mu_);
1086 return function_defs_.find(func) != function_defs_.end();
1087}
1088
1089const FunctionDef* FunctionLibraryDefinition::Find(const string& func) const {
1090 tf_shared_lock l(mu_);

Callers 14

RestoreInternalMethod · 0.45
TESTFunction · 0.45
IsFixedSizeTypeMethod · 0.45
SupportsF16Method · 0.45
SupportsF16DataTypeMethod · 0.45
SpecializeFunctionFunction · 0.45
OptimizeMethod · 0.45
OptimizeGraphFunction · 0.45
OptimizeGraphMethod · 0.45
TestAddOperationFailureFunction · 0.45

Calls 2

findMethod · 0.45
endMethod · 0.45

Tested by 5

TESTFunction · 0.36
TestAddOperationFailureFunction · 0.36
IsRealNumbersFunction · 0.36