diff --git a/examples/apple/coreml/scripts/extract_coreml_models.py b/examples/apple/coreml/scripts/extract_coreml_models.py index b3778a22625..593a270186b 100644 --- a/examples/apple/coreml/scripts/extract_coreml_models.py +++ b/examples/apple/coreml/scripts/extract_coreml_models.py @@ -21,7 +21,7 @@ def extract_coreml_models(pte_data: bytes): - program = deserialize_pte_binary(pte_data) + program = deserialize_pte_binary(pte_data).program delegates: List[BackendDelegate] = sum( [execution_plan.delegates for execution_plan in program.execution_plan], [] )