Change the way Model Optimizer loads frontends (#7330)

* Adds two switches `use_new_frontend` and `use_legacy_frontend` to override defaults.
* Rename ONNX frontend from `onnx_experimental` to `onnx`
This commit is contained in:
Michał Karzyński
2021-09-30 12:17:36 +02:00
committed by GitHub
parent f3c8f2bc49
commit bd5b1bf99f
12 changed files with 73 additions and 35 deletions

View File

@@ -74,6 +74,8 @@ def replaceArgsHelper(log_level='DEBUG',
scale_values=scale_values,
output_dir=output_dir,
freeze_placeholder_with_value=freeze_placeholder_with_value,
use_legacy_frontend=None,
use_new_frontend=None,
framework=None)