From eadfb3a3c490439800028270365b747fc445fd59 Mon Sep 17 00:00:00 2001 From: Sergey Lyalin Date: Thu, 17 Aug 2023 11:13:11 +0400 Subject: [PATCH] Removed remining committed test artefacts and reverted remaining changes in mo --- .../tools/mo/moc_frontend/moc_emit_ir.py | 6 ++ tools/ovc/model_int32.bin | 0 tools/ovc/model_int32.xml | 63 ------------------- 3 files changed, 6 insertions(+), 63 deletions(-) delete mode 100644 tools/ovc/model_int32.bin delete mode 100644 tools/ovc/model_int32.xml diff --git a/tools/mo/openvino/tools/mo/moc_frontend/moc_emit_ir.py b/tools/mo/openvino/tools/mo/moc_frontend/moc_emit_ir.py index c2454ac6d11be4..b2436b49f39a4d 100644 --- a/tools/mo/openvino/tools/mo/moc_frontend/moc_emit_ir.py +++ b/tools/mo/openvino/tools/mo/moc_frontend/moc_emit_ir.py @@ -31,5 +31,11 @@ def moc_emit_ir(ngraph_function: Model, argv: argparse.Namespace): apply_user_transformations(ngraph_function, parse_transform(argv.transform)) + if argv.compress_to_fp16: + from openvino.tools.mo.back.offline_transformations import compress_model + compress_model(ngraph_function) + + apply_fused_names_cleanup(ngraph_function) + del argv.feManager return ngraph_function diff --git a/tools/ovc/model_int32.bin b/tools/ovc/model_int32.bin deleted file mode 100644 index e69de29bb2d1d6..00000000000000 diff --git a/tools/ovc/model_int32.xml b/tools/ovc/model_int32.xml deleted file mode 100644 index 8509cb3e39ab24..00000000000000 --- a/tools/ovc/model_int32.xml +++ /dev/null @@ -1,63 +0,0 @@ - - - - - - - - 2 - 3 - - - - - - - - 2 - 3 - - - - - - - - 2 - 3 - - - 2 - 3 - - - - - 2 - 3 - - - - - - - 2 - 3 - - - - - - - - - - - - - - - - - -