Skip to content

Commit 3ff259e

Browse files
committed
fix
1 parent 84eda70 commit 3ff259e

File tree

2 files changed

+4
-3
lines changed

2 files changed

+4
-3
lines changed

CHANGELOGS.rst

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,8 @@ Change Logs
44
0.7.4
55
+++++
66

7-
* :pr:`174`: changes for the next version of onnx, fixes all_dynamic_shape_from_inputs
7+
* :pr:`178`: add a patch for eager_mask to handle ``assert len(flat_dynamic_shapes) == num_placeholders - num_lifted_inputs``
8+
* :pr:`177`: changes for the next version of onnx, fixes all_dynamic_shape_from_inputs
89

910
0.7.3
1011
+++++

_unittests/ut_reference/test_backend_onnxruntime_evaluator.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -61,9 +61,9 @@ def supports_device(cls, device: str) -> bool:
6161
@classmethod
6262
def create_inference_session(cls, model, device):
6363
d = Device(device)
64-
if d == DeviceType.CUDA:
64+
if d.type == DeviceType.CUDA:
6565
providers = ["CUDAExecutionProvider"]
66-
elif d == DeviceType.CPU:
66+
elif d.type == DeviceType.CPU:
6767
providers = ["CPUExecutionProvider"]
6868
else:
6969
raise ValueError(f"Unrecognized device {device!r} or {d!r}")

0 commit comments

Comments
 (0)