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 b768139 commit 6237a78Copy full SHA for 6237a78
onnx_diagnostic/torch_models/validate.py
@@ -497,7 +497,7 @@ def validate_model(
497
tuple(), data[k], dynamic_shapes=data["dynamic_shapes"]
498
)
499
if patch_kwargs.get("patch", False):
500
- with torch_export_patches(**patch_kwargs):
+ with torch_export_patches(**patch_kwargs): # type: ignore[arg-type]
501
data[k] = cpl.change_dynamic_dimensions(
502
desired_values=dict(batch=1), only_desired=True
503
0 commit comments