| 57 | } |
| 58 | |
| 59 | void GetOpListForValidation(OpList* op_list, const OpRegistry& op_registry) { |
| 60 | op_registry.Export(false, op_list); |
| 61 | RemoveDescriptionsFromOpList(op_list); |
| 62 | } |
| 63 | |
| 64 | Status ValidateGraphHasNoCycle(const Graph& graph) { |
| 65 | // A node is ready when all of its inputs have been visited. |