| 99 | } |
| 100 | |
| 101 | OpCompatibilityLib::OpCompatibilityLib(const string& ops_prefix, |
| 102 | const string& history_version, |
| 103 | const std::set<string>* stable_ops) |
| 104 | : ops_file_(io::JoinPath(ops_prefix, "ops.pbtxt")), |
| 105 | op_history_file_(OpsHistoryFile(ops_prefix, history_version)), |
| 106 | op_history_directory_(OpsHistoryDirectory(ops_prefix, history_version)), |
| 107 | stable_ops_(stable_ops) { |
| 108 | // Get the sorted list of all registered OpDefs. |
| 109 | printf("Getting all registered ops...\n"); |
| 110 | OpRegistry::Global()->Export(false, &op_list_); |
| 111 | } |
| 112 | |
| 113 | Status OpCompatibilityLib::ValidateCompatible(Env* env, int* changed_ops, |
| 114 | int* added_ops, |
nothing calls this directly
no test coverage detected