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

Function get_pte_base_name

examples/apple/coreml/scripts/export.py:138–143  ·  view source on GitHub ↗
(args: argparse.Namespace)

Source from the content-addressed store, hash-verified

136
137
138def get_pte_base_name(args: argparse.Namespace) -> str:
139 pte_name = args.model_name
140 if args.compile:
141 pte_name += "_compiled"
142 pte_name = f"{pte_name}_coreml_{args.compute_unit}"
143 return pte_name
144
145
146def save_processed_bytes(processed_bytes, base_name: str):

Callers 1

mainFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected