Skip to content

Commit

Permalink
fixed openvino pre-commit
Browse files Browse the repository at this point in the history
  • Loading branch information
alexsu52 committed Oct 25, 2023
1 parent 2134fc8 commit 7a762cb
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -98,7 +98,7 @@ def test_meta_information(model_creator_func, ignored_options):
def check_parameters(quantized_model, parameters, path):
for key, value in parameters.items():
rt_path = path + [key]
if isinstance(value, (QuantizationPreset, TargetDevice)):
if isinstance(value, TargetDevice):
value = value.value
if isinstance(value, IgnoredScope):
check_parameters(quantized_model, value.__dict__, rt_path)
Expand Down

0 comments on commit 7a762cb

Please sign in to comment.