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

Function IsFunctionCall

tensorflow/core/common_runtime/function.cc:2178–2183  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

2176}
2177
2178bool IsFunctionCall(const FunctionLibraryDefinition& lib_def,
2179 const Node& node) {
2180 return node.IsPartitionedCall() ||
2181 node.type_string() == FunctionLibraryDefinition::kGradientOp ||
2182 lib_def.Find(node.def().op()) != nullptr;
2183}
2184
2185bool ExpandInlineFunctions(FunctionLibraryRuntime* lib, Graph* graph,
2186 const ExpandInlineFunctionsOptions& options) {

Callers 11

RunShapeFnMethod · 0.70
PinArgsAndRetsMethod · 0.70
InlineFunctionBodyFunction · 0.70
ExpandInlineFunctionsFunction · 0.70
RunMethod · 0.70
CompileMethod · 0.50
CompileFunctionalNodeMethod · 0.50
AnalyzeResourceUsageFunction · 0.50
IsCompilableNodeMethod · 0.50
InlineFunctionCallsFunction · 0.50

Calls 3

IsPartitionedCallMethod · 0.80
FindMethod · 0.45
opMethod · 0.45

Tested by

no test coverage detected