Skip to content

Commit

Permalink
Minor corrections.
Browse files Browse the repository at this point in the history
  • Loading branch information
popovaan committed Apr 18, 2024
1 parent 9fe63a9 commit f503117
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 2 deletions.
1 change: 0 additions & 1 deletion tools/ovc/openvino/tools/ovc/convert_impl.py
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,6 @@
from openvino.tools.ovc.moc_frontend.check_config import any_extensions_used
from openvino.tools.ovc.moc_frontend.pipeline import moc_pipeline
from openvino.tools.ovc.moc_frontend.moc_emit_ir import moc_emit_ir
from openvino.tools.ovc.convert_data_type import destination_type_to_np_data_type
from openvino.tools.ovc.cli_parser import get_available_front_ends, get_common_cli_options, depersonalize, \
get_mo_convert_params, input_to_input_cut_info, parse_inputs
from openvino.tools.ovc.help import get_convert_model_help_specifics
Expand Down
2 changes: 1 addition & 1 deletion tools/ovc/openvino/tools/ovc/moc_frontend/type_utils.py
Original file line number Diff line number Diff line change
Expand Up @@ -63,7 +63,7 @@ def to_ov_type(val):
torch.int16: ov.Type.i16,
torch.int32: ov.Type.i32,
torch.int64: ov.Type.i64,
torch.bool: ov.Type.boolean
torch.bool: ov.Type.boolean,
}
if val not in torch_to_ov_type:
raise Exception("The provided data time is not supported {}.".format(val))
Expand Down

0 comments on commit f503117

Please sign in to comment.