Skip to content

Commit 42f8777

Browse files
committed
linter
1 parent a99e985 commit 42f8777

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

.ci/scripts/gather_test_models.py

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -102,8 +102,10 @@ def export_models_for_ci() -> dict[str, dict]:
102102
continue
103103

104104
if backend == "xnnpack":
105-
if name in MODEL_NAME_TO_OPTIONS and MODEL_NAME_TO_OPTIONS[name].quantization:
106-
backend += "-quantization"
105+
if (
106+
name in MODEL_NAME_TO_OPTIONS
107+
and MODEL_NAME_TO_OPTIONS[name].quantization
108+
):
107109

108110
if name in MODEL_NAME_TO_OPTIONS and MODEL_NAME_TO_OPTIONS[name].delegation:
109111
backend += "-delegation"

0 commit comments

Comments
 (0)