| 145 | |
| 146 | |
| 147 | class ReplaceOperationCommand(GraphCommand): |
| 148 | def __init__(self, op_name: str, replace_to: Operation) -> None: |
| 149 | super().__init__(command_type=GraphCommandType.REPLACE_OP) |
| 150 | self.op_name = op_name |
| 151 | self.replace_to = replace_to |
| 152 | |
| 153 | |
| 154 | class ReplaceVariableCommand(GraphCommand): |