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

Function validate_file_exists

examples/arm/visualize.py:247–249  ·  view source on GitHub ↗
(file_path: Path)

Source from the content-addressed store, hash-verified

245
246
247def validate_file_exists(file_path: Path) -> None:
248 if not file_path.exists():
249 raise FileNotFoundError(f"{file_path} not found")
250
251
252def validate_perf_mode_args(trace: str, tables: str) -> None:

Callers 1

mainFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected