(self, arg)
| 690 | ) |
| 691 | |
| 692 | def is_sym_bool_arg(self, arg) -> bool: |
| 693 | return isinstance(arg, bool) or ( |
| 694 | isinstance(arg, torch.fx.Node) |
| 695 | and arg.name in self.graph_state.sym_bool_values |
| 696 | ) |
| 697 | |
| 698 | def serialize_input( |
| 699 | self, arg, arg_type: Optional[torch._C.Argument] = None |