Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
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
247
def
validate_file_exists(file_path: Path) -> None:
248
if
not file_path.exists():
249
raise
FileNotFoundError(f
"{file_path} not found"
)
250
251
252
def
validate_perf_mode_args(trace: str, tables: str) -> None:
Callers
1
main
Function · 0.85
Calls
no outgoing calls
Tested by
no test coverage detected