Skip to content

Commit c7cde6a

Browse files
authored
Removed saved_model_tags from OVC, improved help. (#18785)
* Removed saved_model_tags, improved help. * Fixed help, removed to string conversion of params. * Help corrections. * Small correction. * Corrected wrong changes. * Corrected wrong changes. * Fixed arguments creating in cli parser. * Renamed extensions parameter to extension.
1 parent 481721e commit c7cde6a

File tree

14 files changed

+130
-405
lines changed

14 files changed

+130
-405
lines changed

tests/layer_tests/mo_python_api_tests/test_mo_convert_extensions.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -102,9 +102,9 @@ def create_ref_graph2():
102102
return Model([sigmoid], [param], "test")
103103

104104
test_data = [
105-
{'params_test': {'extensions': create_custom_extension_leaky_relu_to_relu()},
105+
{'params_test': {'extension': create_custom_extension_leaky_relu_to_relu()},
106106
'ref_graph': create_ref_graph1()},
107-
{'params_test': {'extensions': [create_custom_extension_leaky_relu_to_relu(),
107+
{'params_test': {'extension': [create_custom_extension_leaky_relu_to_relu(),
108108
create_custom_extension_elu_to_sigmoid()]},
109109
'ref_graph': create_ref_graph2()}
110110
]

tests/layer_tests/mo_python_api_tests/test_mo_convert_tf.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -756,6 +756,7 @@ def __call__(self, input):
756756
arr[2] = 2
757757

758758
# Check model inference
759+
cmp_model = compile_model(ov_model)
759760
ov_infer2 = cmp_model(test_input)
760761
fw_infer2 = keras_model(test_input).numpy()
761762

@@ -856,6 +857,7 @@ def test_memory_loss(self, ie_device, precision, ir_version, temp_dir):
856857
gc.collect()
857858

858859
# Check model inference
860+
cmp_model = compile_model(ov_model)
859861
ov_infer2 = cmp_model(test_input, ie_device)
860862

861863
feed_dict = {"Input:0": test_input}

0 commit comments

Comments
 (0)