Skip to content

Commit 7a5b3be

Browse files
committed
assign
1 parent 2167823 commit 7a5b3be

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

onnx_diagnostic/tasks/image_classification.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -69,7 +69,7 @@ def get_inputs(
6969
)
7070
if model.__class__.__name__ == "ViTForImageClassification":
7171
inputs["interpolate_pos_encoding"] = True
72-
shapes["interpolate_pos_encoding"] = None # type: ignore[type-assignment]
72+
shapes["interpolate_pos_encoding"] = None # type: ignore[assignment]
7373
res = dict(inputs=inputs, dynamic_shapes=shapes)
7474
if add_second_input:
7575
res["inputs2"] = get_inputs(

0 commit comments

Comments
 (0)