Rename the input of this node. Args: old_input_name(str): the old input name. new_input_name(str): the new input name.
(self, old_input_name, new_input_name)
| 5437 | self.node = node |
| 5438 | |
| 5439 | def rename_input(self, old_input_name, new_input_name): |
| 5440 | """ |
| 5441 | Rename the input of this node. |
| 5442 | |
| 5443 | Args: |
| 5444 | old_input_name(str): the old input name. |
| 5445 | new_input_name(str): the new input name. |
| 5446 | """ |
| 5447 | assert self.node.op() is not None, ( |
| 5448 | "The node operator description can not be None." |
| 5449 | ) |
| 5450 | self.node.op()._rename_input(old_input_name, new_input_name) |
| 5451 | |
| 5452 | def rename_output(self, old_output_name, new_output_name): |
| 5453 | """ |
no test coverage detected