MCPcopy Create free account
hub / github.com/pytorch/executorch / log_warning

Function log_warning

exir/program/_program.py:1089–1092  ·  view source on GitHub ↗
(warn_str)

Source from the content-addressed store, hash-verified

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):

Callers 1

keepFunction · 0.85

Calls 1

addMethod · 0.45

Tested by

no test coverage detected