(warn_str)
| 1087 | _logged_warnings = set() |
| 1088 | |
| 1089 | def log_warning(warn_str): |
| 1090 | if warn_str not in _logged_warnings: |
| 1091 | logging.warn(warn_str) |
| 1092 | _logged_warnings.add(warn_str) |
| 1093 | |
| 1094 | # To address https://github.com/pytorch/executorch/issues/8781 |
| 1095 | def keep(op): |