Skip to content

Commit

Permalink
Removed saved_model_tags from OVC, improved help. (#18785)
Browse files Browse the repository at this point in the history
* 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.
  • Loading branch information
popovaan authored Jul 28, 2023
1 parent 481721e commit c7cde6a
Show file tree
Hide file tree
Showing 14 changed files with 130 additions and 405 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -102,9 +102,9 @@ def create_ref_graph2():
return Model([sigmoid], [param], "test")

test_data = [
{'params_test': {'extensions': create_custom_extension_leaky_relu_to_relu()},
{'params_test': {'extension': create_custom_extension_leaky_relu_to_relu()},
'ref_graph': create_ref_graph1()},
{'params_test': {'extensions': [create_custom_extension_leaky_relu_to_relu(),
{'params_test': {'extension': [create_custom_extension_leaky_relu_to_relu(),
create_custom_extension_elu_to_sigmoid()]},
'ref_graph': create_ref_graph2()}
]
Expand Down
2 changes: 2 additions & 0 deletions tests/layer_tests/mo_python_api_tests/test_mo_convert_tf.py
Original file line number Diff line number Diff line change
Expand Up @@ -756,6 +756,7 @@ def __call__(self, input):
arr[2] = 2

# Check model inference
cmp_model = compile_model(ov_model)
ov_infer2 = cmp_model(test_input)
fw_infer2 = keras_model(test_input).numpy()

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

# Check model inference
cmp_model = compile_model(ov_model)
ov_infer2 = cmp_model(test_input, ie_device)

feed_dict = {"Input:0": test_input}
Expand Down
Loading

0 comments on commit c7cde6a

Please sign in to comment.