#ifdef HAVE_DNN_NGRAPH
#include "../ie_ngraph.hpp"
+#if INF_ENGINE_VER_MAJOR_GT(INF_ENGINE_RELEASE_2020_4)
+#include <ngraph/op/detection_output.hpp>
+#else
#include <ngraph/op/experimental/layers/detection_output.hpp>
#endif
+#endif
+
namespace cv
{
namespace dnn
#ifdef HAVE_DNN_NGRAPH
#include "../ie_ngraph.hpp"
+#if INF_ENGINE_VER_MAJOR_GT(INF_ENGINE_RELEASE_2020_4)
+#include <ngraph/op/roi_pooling.hpp>
+#include <ngraph/op/psroi_pooling.hpp>
+#else
#include <ngraph/op/experimental/layers/roi_pooling.hpp>
#include <ngraph/op/experimental/layers/psroi_pooling.hpp>
#endif
+#endif
#include <float.h>
#include <algorithm>
#ifdef HAVE_DNN_NGRAPH
#include "../ie_ngraph.hpp"
+#if INF_ENGINE_VER_MAJOR_GT(INF_ENGINE_RELEASE_2020_4)
+#include <ngraph/op/prior_box.hpp>
+#include <ngraph/op/prior_box_clustered.hpp>
+#else
#include <ngraph/op/experimental/layers/prior_box.hpp>
#include <ngraph/op/experimental/layers/prior_box_clustered.hpp>
#endif
+#endif
#include <float.h>
#include <algorithm>
#ifdef HAVE_DNN_NGRAPH
#include "../ie_ngraph.hpp"
+#if INF_ENGINE_VER_MAJOR_GT(INF_ENGINE_RELEASE_2020_4)
+#include <ngraph/op/proposal.hpp>
+#else
#include <ngraph/op/experimental/layers/proposal.hpp>
#endif
+#endif
namespace cv { namespace dnn {
//M*/
#include "../precomp.hpp"
-#include "../op_inf_engine.hpp"
#include <opencv2/dnn/shape_utils.hpp>
#include <opencv2/dnn/all_layers.hpp>
#include "opencl_kernels_dnn.hpp"
#endif
+#include "../op_inf_engine.hpp"
#ifdef HAVE_DNN_NGRAPH
#include "../ie_ngraph.hpp"
+#if INF_ENGINE_VER_MAJOR_GT(INF_ENGINE_RELEASE_2020_4)
+#include <ngraph/op/reorg_yolo.hpp>
+#else
#include <ngraph/op/experimental/layers/reorg_yolo.hpp>
#endif
+#endif
namespace cv
{
#ifdef HAVE_DNN_NGRAPH
#include "../ie_ngraph.hpp"
+#if INF_ENGINE_VER_MAJOR_GT(INF_ENGINE_RELEASE_2020_4)
+#include <ngraph/op/interpolate.hpp>
+#else
#include <ngraph/op/experimental/layers/interpolate.hpp>
#endif
+#endif
namespace cv { namespace dnn {