(self, inputs)
| 146 | current_graph._namespace.auto_naming_for_outputs(self) |
| 147 | |
| 148 | def unflatten_args(self, inputs): |
| 149 | assert self.arg_def is not None, "{} expr doesn't have args/kwargs".format( |
| 150 | type(self).__name__ |
| 151 | ) |
| 152 | inputs = list(inputs) |
| 153 | for idx, val in self.const_val: |
| 154 | inputs.insert(idx, val) |
| 155 | args, kwargs = self.arg_def.unflatten(inputs) |
| 156 | return args, kwargs |
| 157 | |
| 158 | def replace_inputs(self, repl_dict: Dict[Node, Node]): |
| 159 | r"""Replace the input Nodes of this Expr. |