Unroll If in ngraph (#7403)

* added unroll_if

* Fix interface function

* Fix code style

* add false test for unroll if

* add if transformation in subgraphs

* fix code style

* fix transformations

* delete internal transformations

* Fix comments

* fix to replace_node

* fix description fo transformation

* fix CompileNetwork

* fix comments

* fix comments

* add function get_ie_output_name(input);

* fix code style

* disable cpu test
This commit is contained in:
Eugeny Volosenkov authored and GitHub committed 2021-10-15 12:37:43 +03:00
1 parent 3f690314fa
commit 3e48008c3f
9 files changed
+227 -22

No files matched your search

@@ -113,8 +113,9 @@ void TemplatePlugin::ExecutableNetwork::CompileNetwork(const std::shared_ptr<con
// Generate backend specific blob mappings. For example Inference Engine uses not ngraph::Result nodes friendly name
// as inference request output names but the name of the layer before.
for (auto&& result : _function->get_results()) {
auto outputName = ngraph::op::util::create_ie_output_name(result->input_value(0));
_outputIndex.emplace(outputName, _function->get_result_index(result));
const auto& input = result->input_value(0);
auto name = ngraph::op::util::get_ie_output_name(input);
_outputIndex.emplace(name, _function->get_result_index(result));
}
for (auto&& parameter : _function->get_parameters()) {
_inputIndex.emplace(parameter->get_friendly_name(), _function->get_parameter_index(parameter));