| 127 | } |
| 128 | |
| 129 | static bool IsFunction(const GraphDef& graph_def, const string& op_name) { |
| 130 | for (const auto& func_def : graph_def.library().function()) { |
| 131 | if (op_name == func_def.signature().name()) return true; |
| 132 | } |
| 133 | return false; |
| 134 | } |
| 135 | |
| 136 | Status RemoveNewDefaultAttrsFromGraphDef( |
| 137 | GraphDef* graph_def, const OpRegistryInterface& consumer_op_registry, |
no test coverage detected