#include <generic_ie.hpp>
#include <ngraph/opsets/opset3.hpp>
#include <transformations/tensor_iterator_transformations/apply_transformations_to_ti_body.hpp>
-#include <transformations/tensor_iterator_transformations/unroll_tensor_iterator.hpp>
#include <transformations/convert_opset3_to_opset2/convert_opset3_to_opset2.hpp>
#include <transformations/convert_opset2_to_opset1/convert_opset2_to_opset1.hpp>
#include <transformations/convert_opset1_to_legacy/convert_opset1_to_legacy.hpp>
manager.run_passes(nGraphFunc);
ngraph::pass::Manager ti_manager;
- // Apply all transformations to TensorIterator body
ti_manager.register_pass<ngraph::pass::ApplyTransformationsToTIBody>(manager);
- // Unroll should be called after all conversions
- ti_manager.register_pass<ngraph::pass::UnrollTensorIterator>();
ti_manager.run_passes(nGraphFunc);
vpu::MergeSubsequentDSROperations().run_on_function(nGraphFunc);
#include <vpu/utils/profiling.hpp>
#include <vpu/utils/error.hpp>
#include <transformations/tensor_iterator_transformations/apply_transformations_to_ti_body.hpp>
-#include <transformations/tensor_iterator_transformations/unroll_tensor_iterator.hpp>
#include <transformations/common_optimizations/common_optimizations.hpp>
#include <vpu/ngraph/transformations/convert_nms_4_to_nms_dynamic.hpp>
manager.run_passes(function);
ngraph::pass::Manager ti_manager;
- // Apply all transformations to TensorIterator body
ti_manager.register_pass<ngraph::pass::ApplyTransformationsToTIBody>(manager);
- // Unroll should be called after all conversions
- ti_manager.register_pass<ngraph::pass::UnrollTensorIterator>();
ti_manager.run_passes(function);
}