(n)
| 8887 | } |
| 8888 | __update_args_kwargs(new_args, new_kwargs) { |
| 8889 | const update_users_and_input_nodes = (n) => { |
| 8890 | if (n instanceof torch.fx.node.Node) { |
| 8891 | this._input_nodes.setdefault(n); |
| 8892 | n.users.setdefault(this); |
| 8893 | } |
| 8894 | return n; |
| 8895 | }; |
| 8896 | const map_aggregate = (a, fn) => { |
| 8897 | if (a instanceof builtins.tuple) { |
| 8898 | const t = new builtins.tuple(a.map((elem) => map_aggregate(elem, fn))); |
nothing calls this directly
no test coverage detected