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 d245d78 commit 8769fc4Copy full SHA for 8769fc4
onnx_diagnostic/reference/ort_evaluator.py
@@ -450,9 +450,6 @@ def _get_sess(
450
and (not isinstance(self.torch_or_numpy, bool) or not self.torch_or_numpy)
451
else InferenceSessionForTorch
452
)
453
- assert (
454
- cls is InferenceSessionForTorch
455
- ), f"ERROR: {string_type(inputs, with_shape=True)}"
456
try:
457
sess = cls(onx, **self.session_kwargs)
458
except (
0 commit comments