| 2176 | } |
| 2177 | |
| 2178 | bool 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 | |
| 2185 | bool ExpandInlineFunctions(FunctionLibraryRuntime* lib, Graph* graph, |
| 2186 | const ExpandInlineFunctionsOptions& options) { |
no test coverage detected