Skip to content

Commit 2167823

Browse files
committed
mypy
1 parent 61102ef commit 2167823

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

CHANGELOGS.rst

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,10 +4,10 @@ Change Logs
44
0.7.0
55
+++++
66

7-
* :pr:`143`: compares intermediate results,
8-
support for second inputs with different dimension,
7+
* :pr:`144`: support for second inputs with different dimension,
98
rename test_helper into validate,
109
support ``interpolate_pos_encoding`` for ``VitModel``
10+
* :pr:`143`: compares intermediate results,
1111

1212
0.6.3
1313
+++++

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
72+
shapes["interpolate_pos_encoding"] = None # type: ignore[type-assignment]
7373
res = dict(inputs=inputs, dynamic_shapes=shapes)
7474
if add_second_input:
7575
res["inputs2"] = get_inputs(

0 commit comments

Comments
 (0)