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

Function GetName

tensorflow/c/c_api_function_test.cc:1650–1654  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1648}
1649
1650string GetName(TF_Function* func) {
1651 tensorflow::FunctionDef fdef;
1652 GetFunctionDef(func, &fdef);
1653 return fdef.signature().name();
1654}
1655
1656TEST_F(CApiFunctionTest, GetFunctionsFromGraph) {
1657 TF_Function* funcs[2];

Callers 5

GetUniqueNameMethod · 0.85
GetUniqueNameViewMethod · 0.85
OutlineWhileMethod · 0.85
GetNameMethod · 0.85
TEST_FFunction · 0.85

Calls 3

GetFunctionDefFunction · 0.85
signatureMethod · 0.80
nameMethod · 0.65

Tested by

no test coverage detected