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

Function validate_perf_mode_args

examples/arm/visualize.py:252–256  ·  view source on GitHub ↗
(trace: str, tables: str)

Source from the content-addressed store, hash-verified

250
251
252def validate_perf_mode_args(trace: str, tables: str) -> None:
253 if not (trace and tables):
254 raise ValueError(
255 "Both --trace and --tables must be provided for perf mode, or neither for default mode"
256 )
257
258
259def set_pte_model_explorer_config(model_file, tosa_files, config):

Callers 1

mainFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected