We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 2167823 commit 7a5b3beCopy full SHA for 7a5b3be
onnx_diagnostic/tasks/image_classification.py
@@ -69,7 +69,7 @@ def get_inputs(
69
)
70
if model.__class__.__name__ == "ViTForImageClassification":
71
inputs["interpolate_pos_encoding"] = True
72
- shapes["interpolate_pos_encoding"] = None # type: ignore[type-assignment]
+ shapes["interpolate_pos_encoding"] = None # type: ignore[assignment]
73
res = dict(inputs=inputs, dynamic_shapes=shapes)
74
if add_second_input:
75
res["inputs2"] = get_inputs(
0 commit comments