| 54 | } // namespace |
| 55 | |
| 56 | Status OpDefForOp(const char* op_name, const OpDef** op_def) { |
| 57 | const OpRegistrationData* op_reg_data = nullptr; |
| 58 | Status s = OpRegistry::Global()->LookUp(op_name, &op_reg_data); |
| 59 | if (s.ok()) { |
| 60 | *op_def = &op_reg_data->op_def; |
| 61 | } |
| 62 | return s; |
| 63 | } |
| 64 | |
| 65 | Status AttrTypeMapForOp(const char* op_name, const AttrTypeMap** out, |
| 66 | bool* is_function) { |
no test coverage detected