| 35 | OpRegistryInterface::~OpRegistryInterface() {} |
| 36 | |
| 37 | Status OpRegistryInterface::LookUpOpDef(const string& op_type_name, |
| 38 | const OpDef** op_def) const { |
| 39 | *op_def = nullptr; |
| 40 | const OpRegistrationData* op_reg_data = nullptr; |
| 41 | TF_RETURN_IF_ERROR(LookUp(op_type_name, &op_reg_data)); |
| 42 | *op_def = &op_reg_data->op_def; |
| 43 | return Status::OK(); |
| 44 | } |
| 45 | |
| 46 | OpRegistry::OpRegistry() : initialized_(false) {} |
| 47 |
no outgoing calls