Skip to content

Commit

Permalink
Removed not needed method.
Browse files Browse the repository at this point in the history
  • Loading branch information
popovaan committed Apr 18, 2024
1 parent f503117 commit 3515cab
Showing 1 changed file with 0 additions and 7 deletions.
7 changes: 0 additions & 7 deletions tools/ovc/openvino/tools/ovc/convert_data_type.py
Original file line number Diff line number Diff line change
Expand Up @@ -75,13 +75,6 @@ def np_data_type_to_destination_type(np_data_type):
raise Error('Data type "{}" is not supported'.format(np_data_type))


def destination_type_to_np_data_type(dst_type):
for np_t, _, destination_type in SUPPORTED_DATA_TYPES.values():
if destination_type == dst_type:
return np_t
raise Error('Destination type "{}" is not supported'.format(dst_type))


def precision_to_destination_type(data_type_str):
for _, precision, destination_type in SUPPORTED_DATA_TYPES.values():
if precision == data_type_str:
Expand Down

0 comments on commit 3515cab

Please sign in to comment.