diff --git a/src/common/snippets/src/op/broadcastload.cpp b/src/common/snippets/src/op/broadcastload.cpp index 0c38175b54a..68fd39c0610 100644 --- a/src/common/snippets/src/op/broadcastload.cpp +++ b/src/common/snippets/src/op/broadcastload.cpp @@ -4,8 +4,8 @@ #include "snippets/op/broadcastload.hpp" +#include "openvino/reference/broadcast.hpp" #include "snippets/itt.hpp" -#include namespace ov { namespace snippets { diff --git a/src/common/snippets/src/pass/fq_decomposition.cpp b/src/common/snippets/src/pass/fq_decomposition.cpp index c5823ae7a96..09166383dca 100644 --- a/src/common/snippets/src/pass/fq_decomposition.cpp +++ b/src/common/snippets/src/pass/fq_decomposition.cpp @@ -3,20 +3,20 @@ // #include "snippets/pass/fq_decomposition.hpp" -#include "snippets/op/convert_saturation.hpp" -#include "snippets/itt.hpp" - -#include "openvino/opsets/opset1.hpp" -#include "openvino/pass/pattern/op/wrap_type.hpp" -#include "openvino/core/rt_info.hpp" -#include "openvino/pass/constant_folding.hpp" -#include "openvino/pass/validate.hpp" -#include "openvino/pass/manager.hpp" -#include -#include #include +#include "ngraph/runtime/reference/autobroadcast_binop.hpp" +#include "openvino/core/rt_info.hpp" +#include "openvino/opsets/opset1.hpp" +#include "openvino/pass/constant_folding.hpp" +#include "openvino/pass/manager.hpp" +#include "openvino/pass/pattern/op/wrap_type.hpp" +#include "openvino/pass/validate.hpp" +#include "openvino/reference/broadcast.hpp" +#include "snippets/itt.hpp" +#include "snippets/op/convert_saturation.hpp" + namespace { bool isValidRangesInputs(const std::shared_ptr& fq) { auto il = fq->input_value(1); diff --git a/src/common/transformations/src/transformations/common_optimizations/compress_float_constants.cpp b/src/common/transformations/src/transformations/common_optimizations/compress_float_constants.cpp index 8cf7988e98e..cddf2313ef0 100644 --- a/src/common/transformations/src/transformations/common_optimizations/compress_float_constants.cpp +++ b/src/common/transformations/src/transformations/common_optimizations/compress_float_constants.cpp @@ -5,12 +5,12 @@ #include "transformations/common_optimizations/compress_float_constants.hpp" #include "itt.hpp" -#include "ngraph/runtime/reference/convert.hpp" #include "openvino/core/rt_info.hpp" #include "openvino/op/constant.hpp" #include "openvino/op/convert.hpp" #include "openvino/op/parameter.hpp" #include "openvino/pass/pattern/op/wrap_type.hpp" +#include "openvino/reference/convert.hpp" #include "transformations/rt_info/decompression.hpp" #include "transformations/rt_info/disable_fp16_compression.hpp" #include "transformations/rt_info/old_api_map_element_type_attribute.hpp" diff --git a/src/common/transformations/src/transformations/convert_precision.cpp b/src/common/transformations/src/transformations/convert_precision.cpp index 42f0188f7b0..e6b9ac7bb99 100644 --- a/src/common/transformations/src/transformations/convert_precision.cpp +++ b/src/common/transformations/src/transformations/convert_precision.cpp @@ -8,7 +8,6 @@ #include #include "itt.hpp" -#include "ngraph/runtime/reference/convert.hpp" #include "openvino/opsets/opset1.hpp" #include "openvino/opsets/opset10.hpp" #include "openvino/opsets/opset11.hpp" @@ -20,6 +19,7 @@ #include "openvino/opsets/opset9.hpp" #include "openvino/pass/constant_folding.hpp" #include "openvino/pass/manager.hpp" +#include "openvino/reference/convert.hpp" #include "ov_ops/type_relaxed.hpp" #include "transformations/fp16_compression/align_mixed_fp32_fp16_types.hpp" #include "transformations/fp16_compression/mark_decompression_convert_constant_folding.hpp" diff --git a/src/core/reference/include/ngraph/runtime/reference/autobroadcast_binop.hpp b/src/core/reference/include/ngraph/runtime/reference/autobroadcast_binop.hpp index 6997669ef00..d0b7d704dd8 100644 --- a/src/core/reference/include/ngraph/runtime/reference/autobroadcast_binop.hpp +++ b/src/core/reference/include/ngraph/runtime/reference/autobroadcast_binop.hpp @@ -4,91 +4,12 @@ #pragma once -#include -#include -#include - -#include "ngraph/coordinate_transform.hpp" -#include "ngraph/op/util/attr_types.hpp" -#include "ngraph/shape_util.hpp" +#include "openvino/reference/autobroadcast_binop.hpp" +// Proxy calls for dependant components transition to ov::reference namespace namespace ngraph { namespace runtime { namespace reference { -namespace internal { -inline void row_major_strides(const Shape& shape, size_t* strides, size_t size) noexcept { - size_t* st = strides + size - 1; - size_t s = 1; - for (auto d = shape.rbegin(); d != shape.rend(); d++) { - *st-- = s; - s *= *d; - } - std::fill(strides, st + 1, s); -} - -template -inline T value_with_padding_or(const C& arr, size_t padding, size_t idx, T&& default_value) { - return idx < padding ? std::forward(default_value) : static_cast(arr[idx - padding]); -} - -template -inline void numpy_autobroadcast_binop(const T* arg0, - const T* arg1, - U* out, - const Shape& shape0, - const Shape& shape1, - const size_t* strides0, - const size_t* strides1, - const size_t padding0, - const size_t padding1, - const Shape& output_shape, - const size_t axis, - const size_t stride, - Functor elementwise_functor) { - for (CoordinateIterator it(output_shape), ite = CoordinateIterator::end();;) { - for (size_t i = 0; i < stride; ++i) - *out++ = elementwise_functor(arg0[i * A0], arg1[i * A1]); - - arg0 += A0 ? stride : 1; - arg1 += A1 ? stride : 1; - - auto p = it.advance(axis); - - if (it == ite) - break; - - if (value_with_padding_or(shape0, padding0, p, 1) == 1) - arg0 -= strides0[p]; - - if (value_with_padding_or(shape1, padding1, p, 1) == 1) - arg1 -= strides1[p]; - } -} - -inline size_t calculate_fixed_axis(size_t axis, const size_t* strides) { - while (axis > 0 && strides[axis - 1] == 1) - --axis; - return axis; -} -} // namespace internal - -/// \brief Helper function to implement autobroadcasting elementwise binop references. -/// -/// \tparam T Element type of the input tensors. -/// \tparam U Element type of the output tensor. -/// \tparam Functor Type of the functor for the elementwise operation. Must support -/// operator()(T,T), and operator()(T,T) must return a value of type -/// U. -/// -/// \param arg0 Pointer to the buffer for left operand input tensor. -/// \param arg1 Pointer to the buffer for right operand input tensor. -/// \param out Pointer to the buffer for output tensor. This must be pre-allocated by -/// the caller, and must be large enough to hold a tensor of the correct -/// shape. -/// \param broadcast_spec Specification of the auto-broadcasting scheme. -/// \param elementwise_functor Functor implementing the elementwise operation to be -/// applied across the input tensors. Must accept two -/// arguments of type T, and return a value of type U. template void autobroadcast_binop(const T* arg0, const T* arg1, @@ -97,208 +18,9 @@ void autobroadcast_binop(const T* arg0, const Shape& arg1_shape, const op::AutoBroadcastSpec& broadcast_spec, Functor elementwise_functor) { - switch (broadcast_spec.m_type) { - case op::AutoBroadcastType::NONE: - for (size_t i = 0; i < shape_size(arg0_shape); i++) { - out[i] = static_cast(elementwise_functor(arg0[i], arg1[i])); - } - break; - case op::AutoBroadcastType::NUMPY: - // We'll be using CoordinateTransform to handle the broadcasting. The general - // procedure is as follows: - // - // (1) Left pad the shorter of the two shapes with ones. - // (2) Squeeze (remove ones from) both shapes, and record the squeezed axis - // indices. - // (3) Using CoordinateTransform, broadcast both args to the final output - // shape. The "broadcasted axes" will be those that were squeezed in step - // 2. - // - // Example: - // - // Input shape->Padded shape->Squeezed Shape/Squeezed Axes - // ----------- ------------ ---------------------------- - // a: [ 3, 2, 1] [ 3, 2, 1] [ 3, 2 ] {2} - // b: [ 1, 6] [ 1, 1, 6] [ 6] {0,1} - // | | | - // v v v - // Output shape - // ------------ - // [ 3, 2, 6] - { - using namespace internal; - - size_t const shape_rank = std::max(arg0_shape.size(), arg1_shape.size()) + 1; - - // TODO: Use compiler-specific alloca() or variable-length array - std::vector tmp(shape_rank * 2); - - size_t* strides0 = tmp.data(); - size_t* strides1 = tmp.data() + shape_rank; - - row_major_strides(arg0_shape, strides0, shape_rank); - row_major_strides(arg1_shape, strides1, shape_rank); - - size_t const padding0 = shape_rank - arg0_shape.size(); - size_t const padding1 = shape_rank - arg1_shape.size(); - - Shape output_shape(shape_rank, 0); - - size_t axis = 0; - - for (size_t i = 0; i < shape_rank; i++) { - auto const dim0 = value_with_padding_or(arg0_shape, padding0, i, 1); - auto const dim1 = value_with_padding_or(arg1_shape, padding1, i, 1); - - output_shape[i] = std::max(dim0, dim1); - - if (dim0 != dim1) - axis = std::max(axis, i); - } - - if (axis == 0) { - for (size_t i = 0, end = strides0[0]; i < end; ++i) - out[i] = elementwise_functor(arg0[i], arg1[i]); - } else if (strides0[axis] == 1 && value_with_padding_or(arg0_shape, padding0, axis, 1) == 1) { - axis = calculate_fixed_axis(axis, strides0); - - numpy_autobroadcast_binop<0, 1>(arg0, - arg1, - out, - arg0_shape, - arg1_shape, - strides0, - strides1, - padding0, - padding1, - output_shape, - axis, - strides1[axis], - elementwise_functor); - } else if (strides1[axis] == 1 && value_with_padding_or(arg1_shape, padding1, axis, 1) == 1) { - axis = calculate_fixed_axis(axis, strides1); - - numpy_autobroadcast_binop<1, 0>(arg0, - arg1, - out, - arg0_shape, - arg1_shape, - strides0, - strides1, - padding0, - padding1, - output_shape, - axis, - strides0[axis], - elementwise_functor); - } else - numpy_autobroadcast_binop<1, 1>(arg0, - arg1, - out, - arg0_shape, - arg1_shape, - strides0, - strides1, - padding0, - padding1, - output_shape, - axis, - strides0[axis], - elementwise_functor); - } - break; - case op::AutoBroadcastType::PDPD: - // We'll be using CoordinateTransform to handle the broadcasting. No need to - // process arg0 and output shape will be the same as arg0. We need to process - // arg1 and the general procedure is as follows: - // - // (1) Trim trailing ones from arg1 shape. - // (2) Left and right pad arg1 to match arg0 shape. Axis is the index start - // to align between arg0 and arg1. - // (3) Squeeze (remove ones from) arg1 shape, and record the squeezed axis - // indices. - // (3) Using CoordinateTransform, broadcast arg1 to the final output - // shape. The "broadcasted axes" will be those that were squeezed in step - // 23. - // - // Example: - // - // Input shape-> Padded shape-> Squeezed Shape/Squeezed Axes - // ----------- ------------ ---------------------------- - // a: [ 3, 4, 5, 6] [ 3, 4, 5, 6] [ 3, 4, 5, 6] - // b: [ 4, 5, ] [ 1, 4, 5, 1] [ 4, 5 ] {0,3} - // | | | - // v v v - // Output shape - // ------------ - // [ 3, 4, 5, 6] - { - int64_t axis = broadcast_spec.m_axis; - if (axis == -1) { - axis = arg0_shape.size() - arg1_shape.size(); - } - - Shape arg1_padded_shape = arg1_shape; - // Trim trailing ones - while (arg1_padded_shape.size() > 0 && arg1_padded_shape.back() == 1) { - arg1_padded_shape.pop_back(); - } - - for (int64_t i = 0; i < axis; ++i) { - arg1_padded_shape.insert(arg1_padded_shape.begin(), 1); - } - - while (arg1_padded_shape.size() < arg0_shape.size()) { - arg1_padded_shape.insert(arg1_padded_shape.end(), 1); - } - - Shape arg1_squeezed_shape; - AxisSet arg1_squeezed_axes; - - for (size_t i = 0; i < arg0_shape.size(); i++) { - if (arg1_padded_shape[i] == 1) { - arg1_squeezed_axes.insert(i); - } else { - arg1_squeezed_shape.push_back(arg1_padded_shape[i]); - } - } - - NGRAPH_SUPPRESS_DEPRECATED_START - CoordinateTransform arg0_transform(arg0_shape); - CoordinateTransform arg1_transform(arg1_squeezed_shape); - CoordinateTransform output_transform(arg0_shape); - - for (const Coordinate& output_coord : output_transform) { - Coordinate arg1_coord = reduce(output_coord, arg1_squeezed_axes, false); - out[output_transform.index(output_coord)] = - elementwise_functor(arg0[arg0_transform.index(output_coord)], - arg1[arg1_transform.index(arg1_coord)]); - } - NGRAPH_SUPPRESS_DEPRECATED_END - } - } + ov::reference::autobroadcast_binop(arg0, arg1, out, arg0_shape, arg1_shape, broadcast_spec, elementwise_functor); } -/// \brief Helper function to implement autobroadcasting elementwise ternaryop -/// references. -/// -/// \tparam U Element type of the selector tensor. -/// \tparam T Element type of the input tensors. -/// \tparam Functor Type of the functor for the elementwise operation. Must support -/// operator()(U,T,T), and operator()(U,T,T) must return a value of type -/// T. -/// -/// \param arg0 Pointer to the buffer for selector tensor. -/// \param arg1 Pointer to the buffer for left operand input tensor. -/// \param arg2 Pointer to the buffer for right operand input tensor. -/// \param out Pointer to the buffer for output tensor. This must be pre-allocated by -/// the caller, and must be large enough to hold a tensor of the correct -/// shape. -/// \param broadcast_spec Specification of the auto-broadcasting scheme. -/// \param elementwise_functor Functor implementing the elementwise operation to be -/// applied across the input tensors. Must accept an argument -/// of -/// type U and two of type T, and return a value of type T. template void autobroadcast_select(const U* arg0, const T* arg1, @@ -309,172 +31,15 @@ void autobroadcast_select(const U* arg0, const Shape& arg2_shape, const op::AutoBroadcastSpec& broadcast_spec, Functor elementwise_functor) { - switch (broadcast_spec.m_type) { - case op::AutoBroadcastType::NONE: - for (size_t i = 0; i < shape_size(arg0_shape); i++) { - out[i] = elementwise_functor(arg0[i], arg1[i], arg2[i]); - } - break; - case op::AutoBroadcastType::NUMPY: - // Uses same approach as autobroadcast_binop. - { - Shape arg0_padded_shape = arg0_shape; - Shape arg1_padded_shape = arg1_shape; - Shape arg2_padded_shape = arg2_shape; - - size_t max_shape_size = - std::max({arg0_padded_shape.size(), arg1_padded_shape.size(), arg2_padded_shape.size()}); - - while (arg0_padded_shape.size() < max_shape_size) { - arg0_padded_shape.insert(arg0_padded_shape.begin(), 1); - } - - while (arg1_padded_shape.size() < max_shape_size) { - arg1_padded_shape.insert(arg1_padded_shape.begin(), 1); - } - - while (arg2_padded_shape.size() < max_shape_size) { - arg2_padded_shape.insert(arg2_padded_shape.begin(), 1); - } - - Shape arg0_squeezed_shape; - Shape arg1_squeezed_shape; - Shape arg2_squeezed_shape; - AxisSet arg0_squeezed_axes; - AxisSet arg1_squeezed_axes; - AxisSet arg2_squeezed_axes; - Shape output_shape; - - for (size_t i = 0; i < max_shape_size; i++) { - if (arg1_padded_shape[i] == 1) { - arg1_squeezed_axes.insert(i); - } else { - arg1_squeezed_shape.push_back(arg1_padded_shape[i]); - } - - if (arg2_padded_shape[i] == 1) { - arg2_squeezed_axes.insert(i); - } else { - arg2_squeezed_shape.push_back(arg2_padded_shape[i]); - } - - if (arg0_padded_shape[i] == 1) { - arg0_squeezed_axes.insert(i); - } else { - arg0_squeezed_shape.push_back(arg0_padded_shape[i]); - } - - output_shape.push_back(std::max({arg0_padded_shape[i], arg2_padded_shape[i], arg1_padded_shape[i]})); - } - - CoordinateTransformBasic arg0_transform(arg0_squeezed_shape); - CoordinateTransformBasic arg1_transform(arg1_squeezed_shape); - CoordinateTransformBasic arg2_transform(arg2_squeezed_shape); - CoordinateTransformBasic output_transform(output_shape); - - const auto arg0_strides = row_major_strides(arg0_squeezed_shape); - const auto arg1_strides = row_major_strides(arg1_squeezed_shape); - const auto arg2_strides = row_major_strides(arg2_squeezed_shape); - const auto output_strides = row_major_strides(output_shape); - - for (const Coordinate& output_coord : output_transform) { - NGRAPH_SUPPRESS_DEPRECATED_START - const Coordinate arg0_coord = reduce(output_coord, arg0_squeezed_axes, false); - const Coordinate arg1_coord = reduce(output_coord, arg1_squeezed_axes, false); - const Coordinate arg2_coord = reduce(output_coord, arg2_squeezed_axes, false); - NGRAPH_SUPPRESS_DEPRECATED_END - - const size_t arg0_idx = - std::inner_product(arg0_coord.begin(), arg0_coord.end(), arg0_strides.begin(), uint64_t(0)); - const size_t arg1_idx = - std::inner_product(arg1_coord.begin(), arg1_coord.end(), arg1_strides.begin(), uint64_t(0)); - const size_t arg2_idx = - std::inner_product(arg2_coord.begin(), arg2_coord.end(), arg2_strides.begin(), uint64_t(0)); - const size_t output_idx = - std::inner_product(output_coord.begin(), output_coord.end(), output_strides.begin(), uint64_t(0)); - out[output_idx] = elementwise_functor(arg0[arg0_idx], arg1[arg1_idx], arg2[arg2_idx]); - } - } - break; - case op::AutoBroadcastType::PDPD: { - // arg0 and arg2 are broadcast to arg1 shape - int64_t axis = broadcast_spec.m_axis; - if (axis == -1) { - axis = arg1_shape.size() - arg2_shape.size(); - } - - Shape arg0_padded_shape = arg0_shape; - Shape arg2_padded_shape = arg2_shape; - // Trim trailing ones - while (arg0_padded_shape.size() > 0 && arg0_padded_shape.back() == 1) { - arg0_padded_shape.pop_back(); - } - - for (int64_t i = 0; (i < axis) && (arg0_padded_shape.size() < arg1_shape.size()); ++i) { - arg0_padded_shape.insert(arg0_padded_shape.begin(), 1); - } - - while (arg0_padded_shape.size() < arg1_shape.size()) { - arg0_padded_shape.insert(arg0_padded_shape.end(), 1); - } - - while (arg2_padded_shape.size() > 0 && arg2_padded_shape.back() == 1) { - arg2_padded_shape.pop_back(); - } - for (int64_t i = 0; (i < axis) && (arg2_padded_shape.size() < arg1_shape.size()); ++i) { - arg2_padded_shape.insert(arg2_padded_shape.begin(), 1); - } - - while (arg2_padded_shape.size() < arg1_shape.size()) { - arg2_padded_shape.insert(arg2_padded_shape.end(), 1); - } - - Shape arg0_squeezed_shape; - AxisSet arg0_squeezed_axes; - Shape arg2_squeezed_shape; - AxisSet arg2_squeezed_axes; - - for (size_t i = 0; i < arg1_shape.size(); i++) { - if (arg0_padded_shape[i] == 1) { - arg0_squeezed_axes.insert(i); - } else { - arg0_squeezed_shape.push_back(arg0_padded_shape[i]); - } - if (arg2_padded_shape[i] == 1) { - arg2_squeezed_axes.insert(i); - } else { - arg2_squeezed_shape.push_back(arg2_padded_shape[i]); - } - } - - CoordinateTransformBasic arg0_transform(arg0_squeezed_shape); - CoordinateTransformBasic arg1_transform(arg1_shape); - CoordinateTransformBasic arg2_transform(arg2_squeezed_shape); - CoordinateTransformBasic output_transform(arg1_shape); - - const auto arg0_strides = row_major_strides(arg0_squeezed_shape); - const auto arg2_strides = row_major_strides(arg2_squeezed_shape); - const auto output_strides = row_major_strides(arg1_shape); - - for (const Coordinate& output_coord : output_transform) { - NGRAPH_SUPPRESS_DEPRECATED_START - const Coordinate arg0_coord = reduce(output_coord, arg0_squeezed_axes, false); - const Coordinate arg2_coord = reduce(output_coord, arg2_squeezed_axes, false); - NGRAPH_SUPPRESS_DEPRECATED_END - - const size_t arg0_idx = - std::inner_product(arg0_coord.begin(), arg0_coord.end(), arg0_strides.begin(), uint64_t(0)); - const size_t arg1_idx = - std::inner_product(output_coord.begin(), output_coord.end(), output_strides.begin(), uint64_t(0)); - const size_t arg2_idx = - std::inner_product(arg2_coord.begin(), arg2_coord.end(), arg2_strides.begin(), uint64_t(0)); - const size_t output_idx = - std::inner_product(output_coord.begin(), output_coord.end(), output_strides.begin(), uint64_t(0)); - - out[output_idx] = elementwise_functor(arg0[arg0_idx], arg1[arg1_idx], arg2[arg2_idx]); - } - } - } + ov::reference::autobroadcast_select(arg0, + arg1, + arg2, + out, + arg0_shape, + arg1_shape, + arg2_shape, + broadcast_spec, + elementwise_functor); } } // namespace reference } // namespace runtime diff --git a/src/core/reference/include/ngraph/runtime/reference/power.hpp b/src/core/reference/include/ngraph/runtime/reference/power.hpp index 0ac74a46c8f..9a8e0d89612 100644 --- a/src/core/reference/include/ngraph/runtime/reference/power.hpp +++ b/src/core/reference/include/ngraph/runtime/reference/power.hpp @@ -4,21 +4,16 @@ #pragma once -#include -#include - -#include "ngraph/op/util/attr_types.hpp" -#include "ngraph/runtime/reference/autobroadcast_binop.hpp" -#include "ngraph/shape.hpp" +#include "openvino/reference/power.hpp" +// Proxy calls for dependant components transition to ov::reference namespace namespace ngraph { namespace runtime { namespace reference { + template void power(const T* arg0, const T* arg1, T* out, size_t count) { - for (size_t i = 0; i < count; i++) { - out[i] = static_cast(std::pow(arg0[i], arg1[i])); - } + ov::reference::power(arg0, arg1, out, count); } template @@ -28,10 +23,9 @@ void power(const T* arg0, const Shape& arg0_shape, const Shape& arg1_shape, const op::AutoBroadcastSpec& broadcast_spec) { - autobroadcast_binop(arg0, arg1, out, arg0_shape, arg1_shape, broadcast_spec, [](T x, T y) -> T { - return static_cast(std::pow(x, y)); - }); + ov::reference::power(arg0, arg1, out, arg0_shape, arg1_shape, broadcast_spec); } + } // namespace reference } // namespace runtime } // namespace ngraph diff --git a/src/core/reference/include/ngraph/runtime/reference/softmax.hpp b/src/core/reference/include/ngraph/runtime/reference/softmax.hpp index 9277d2a3c2b..559ab8f94d6 100644 --- a/src/core/reference/include/ngraph/runtime/reference/softmax.hpp +++ b/src/core/reference/include/ngraph/runtime/reference/softmax.hpp @@ -4,42 +4,15 @@ #pragma once -#include - -#include "ngraph/coordinate_transform.hpp" -#include "ngraph/runtime/reference/max.hpp" -#include "ngraph/runtime/reference/sum.hpp" -#include "ngraph/shape_util.hpp" +#include "openvino/reference/softmax.hpp" +// Proxy call for dependant components transition to ov::reference namespace namespace ngraph { namespace runtime { namespace reference { template void softmax(const T* arg, T* out, const Shape& shape, const AxisSet& axes) { - NGRAPH_SUPPRESS_DEPRECATED_START - auto temp_shape = reduce(shape, axes, true); - auto temp_elements = shape_size(temp_shape); - auto temp_ptr = new T[temp_elements]; - - max(arg, temp_ptr, shape, axes); - - CoordinateTransform transform(shape); - CoordinateTransform temp_transform(temp_shape); - for (const Coordinate& coord : transform) { - Coordinate temp_coord = reduce(coord, axes, true); - out[transform.index(coord)] = - std::exp(arg[transform.index(coord)] - temp_ptr[temp_transform.index(temp_coord)]); - } - - sum(out, temp_ptr, shape, axes); - - for (const Coordinate& coord : transform) { - Coordinate temp_coord = reduce(coord, axes, true); - out[transform.index(coord)] /= temp_ptr[temp_transform.index(temp_coord)]; - } - - delete[] temp_ptr; - NGRAPH_SUPPRESS_DEPRECATED_END + ov::reference::softmax(arg, out, shape, axes); } } // namespace reference } // namespace runtime diff --git a/src/core/reference/include/ngraph/runtime/reference/abs.hpp b/src/core/reference/include/openvino/reference/abs.hpp similarity index 100% rename from src/core/reference/include/ngraph/runtime/reference/abs.hpp rename to src/core/reference/include/openvino/reference/abs.hpp diff --git a/src/core/reference/include/ngraph/runtime/reference/acos.hpp b/src/core/reference/include/openvino/reference/acos.hpp similarity index 100% rename from src/core/reference/include/ngraph/runtime/reference/acos.hpp rename to src/core/reference/include/openvino/reference/acos.hpp diff --git a/src/core/reference/include/ngraph/runtime/reference/acosh.hpp b/src/core/reference/include/openvino/reference/acosh.hpp similarity index 100% rename from src/core/reference/include/ngraph/runtime/reference/acosh.hpp rename to src/core/reference/include/openvino/reference/acosh.hpp diff --git a/src/core/reference/include/ngraph/runtime/reference/adaptive_avg_pool.hpp b/src/core/reference/include/openvino/reference/adaptive_avg_pool.hpp similarity index 100% rename from src/core/reference/include/ngraph/runtime/reference/adaptive_avg_pool.hpp rename to src/core/reference/include/openvino/reference/adaptive_avg_pool.hpp diff --git a/src/core/reference/include/ngraph/runtime/reference/adaptive_max_pool.hpp b/src/core/reference/include/openvino/reference/adaptive_max_pool.hpp similarity index 100% rename from src/core/reference/include/ngraph/runtime/reference/adaptive_max_pool.hpp rename to src/core/reference/include/openvino/reference/adaptive_max_pool.hpp diff --git a/src/core/reference/include/ngraph/runtime/reference/add.hpp b/src/core/reference/include/openvino/reference/add.hpp similarity index 100% rename from src/core/reference/include/ngraph/runtime/reference/add.hpp rename to src/core/reference/include/openvino/reference/add.hpp diff --git a/src/core/reference/include/ngraph/runtime/reference/and.hpp b/src/core/reference/include/openvino/reference/and.hpp similarity index 100% rename from src/core/reference/include/ngraph/runtime/reference/and.hpp rename to src/core/reference/include/openvino/reference/and.hpp diff --git a/src/core/reference/include/ngraph/runtime/reference/asin.hpp b/src/core/reference/include/openvino/reference/asin.hpp similarity index 100% rename from src/core/reference/include/ngraph/runtime/reference/asin.hpp rename to src/core/reference/include/openvino/reference/asin.hpp diff --git a/src/core/reference/include/ngraph/runtime/reference/asinh.hpp b/src/core/reference/include/openvino/reference/asinh.hpp similarity index 100% rename from src/core/reference/include/ngraph/runtime/reference/asinh.hpp rename to src/core/reference/include/openvino/reference/asinh.hpp diff --git a/src/core/reference/include/ngraph/runtime/reference/atan.hpp b/src/core/reference/include/openvino/reference/atan.hpp similarity index 100% rename from src/core/reference/include/ngraph/runtime/reference/atan.hpp rename to src/core/reference/include/openvino/reference/atan.hpp diff --git a/src/core/reference/include/ngraph/runtime/reference/atan2.hpp b/src/core/reference/include/openvino/reference/atan2.hpp similarity index 100% rename from src/core/reference/include/ngraph/runtime/reference/atan2.hpp rename to src/core/reference/include/openvino/reference/atan2.hpp diff --git a/src/core/reference/include/ngraph/runtime/reference/atanh.hpp b/src/core/reference/include/openvino/reference/atanh.hpp similarity index 100% rename from src/core/reference/include/ngraph/runtime/reference/atanh.hpp rename to src/core/reference/include/openvino/reference/atanh.hpp diff --git a/src/core/reference/include/openvino/reference/autobroadcast_binop.hpp b/src/core/reference/include/openvino/reference/autobroadcast_binop.hpp new file mode 100644 index 00000000000..f27f9b78ff0 --- /dev/null +++ b/src/core/reference/include/openvino/reference/autobroadcast_binop.hpp @@ -0,0 +1,482 @@ +// Copyright (C) 2018-2023 Intel Corporation +// SPDX-License-Identifier: Apache-2.0 +// + +#pragma once + +#include +#include +#include + +#include "ngraph/coordinate_transform.hpp" +#include "ngraph/op/util/attr_types.hpp" +#include "ngraph/shape_util.hpp" + +namespace ov { +namespace reference { +namespace internal { +inline void row_major_strides(const Shape& shape, size_t* strides, size_t size) noexcept { + size_t* st = strides + size - 1; + size_t s = 1; + for (auto d = shape.rbegin(); d != shape.rend(); d++) { + *st-- = s; + s *= *d; + } + std::fill(strides, st + 1, s); +} + +template +inline T value_with_padding_or(const C& arr, size_t padding, size_t idx, T&& default_value) { + return idx < padding ? std::forward(default_value) : static_cast(arr[idx - padding]); +} + +template +inline void numpy_autobroadcast_binop(const T* arg0, + const T* arg1, + U* out, + const Shape& shape0, + const Shape& shape1, + const size_t* strides0, + const size_t* strides1, + const size_t padding0, + const size_t padding1, + const Shape& output_shape, + const size_t axis, + const size_t stride, + Functor elementwise_functor) { + using ngraph::CoordinateIterator; + for (CoordinateIterator it(output_shape), ite = CoordinateIterator::end();;) { + for (size_t i = 0; i < stride; ++i) + *out++ = elementwise_functor(arg0[i * A0], arg1[i * A1]); + + arg0 += A0 ? stride : 1; + arg1 += A1 ? stride : 1; + + auto p = it.advance(axis); + + if (it == ite) + break; + + if (value_with_padding_or(shape0, padding0, p, 1) == 1) + arg0 -= strides0[p]; + + if (value_with_padding_or(shape1, padding1, p, 1) == 1) + arg1 -= strides1[p]; + } +} + +inline size_t calculate_fixed_axis(size_t axis, const size_t* strides) { + while (axis > 0 && strides[axis - 1] == 1) + --axis; + return axis; +} +} // namespace internal + +/// \brief Helper function to implement autobroadcasting elementwise binop references. +/// +/// \tparam T Element type of the input tensors. +/// \tparam U Element type of the output tensor. +/// \tparam Functor Type of the functor for the elementwise operation. Must support +/// operator()(T,T), and operator()(T,T) must return a value of type +/// U. +/// +/// \param arg0 Pointer to the buffer for left operand input tensor. +/// \param arg1 Pointer to the buffer for right operand input tensor. +/// \param out Pointer to the buffer for output tensor. This must be pre-allocated by +/// the caller, and must be large enough to hold a tensor of the correct +/// shape. +/// \param broadcast_spec Specification of the auto-broadcasting scheme. +/// \param elementwise_functor Functor implementing the elementwise operation to be +/// applied across the input tensors. Must accept two +/// arguments of type T, and return a value of type U. +template +void autobroadcast_binop(const T* arg0, + const T* arg1, + U* out, + const Shape& arg0_shape, + const Shape& arg1_shape, + const op::AutoBroadcastSpec& broadcast_spec, + Functor elementwise_functor) { + switch (broadcast_spec.m_type) { + case op::AutoBroadcastType::NONE: + for (size_t i = 0; i < shape_size(arg0_shape); i++) { + out[i] = static_cast(elementwise_functor(arg0[i], arg1[i])); + } + break; + case op::AutoBroadcastType::NUMPY: + // We'll be using CoordinateTransform to handle the broadcasting. The general + // procedure is as follows: + // + // (1) Left pad the shorter of the two shapes with ones. + // (2) Squeeze (remove ones from) both shapes, and record the squeezed axis + // indices. + // (3) Using CoordinateTransform, broadcast both args to the final output + // shape. The "broadcasted axes" will be those that were squeezed in step + // 2. + // + // Example: + // + // Input shape->Padded shape->Squeezed Shape/Squeezed Axes + // ----------- ------------ ---------------------------- + // a: [ 3, 2, 1] [ 3, 2, 1] [ 3, 2 ] {2} + // b: [ 1, 6] [ 1, 1, 6] [ 6] {0,1} + // | | | + // v v v + // Output shape + // ------------ + // [ 3, 2, 6] + { + using namespace internal; + + size_t const shape_rank = std::max(arg0_shape.size(), arg1_shape.size()) + 1; + + // TODO: Use compiler-specific alloca() or variable-length array + std::vector tmp(shape_rank * 2); + + size_t* strides0 = tmp.data(); + size_t* strides1 = tmp.data() + shape_rank; + + row_major_strides(arg0_shape, strides0, shape_rank); + row_major_strides(arg1_shape, strides1, shape_rank); + + size_t const padding0 = shape_rank - arg0_shape.size(); + size_t const padding1 = shape_rank - arg1_shape.size(); + + Shape output_shape(shape_rank, 0); + + size_t axis = 0; + + for (size_t i = 0; i < shape_rank; i++) { + auto const dim0 = value_with_padding_or(arg0_shape, padding0, i, 1); + auto const dim1 = value_with_padding_or(arg1_shape, padding1, i, 1); + + output_shape[i] = std::max(dim0, dim1); + + if (dim0 != dim1) + axis = std::max(axis, i); + } + + if (axis == 0) { + for (size_t i = 0, end = strides0[0]; i < end; ++i) + out[i] = elementwise_functor(arg0[i], arg1[i]); + } else if (strides0[axis] == 1 && value_with_padding_or(arg0_shape, padding0, axis, 1) == 1) { + axis = calculate_fixed_axis(axis, strides0); + + numpy_autobroadcast_binop<0, 1>(arg0, + arg1, + out, + arg0_shape, + arg1_shape, + strides0, + strides1, + padding0, + padding1, + output_shape, + axis, + strides1[axis], + elementwise_functor); + } else if (strides1[axis] == 1 && value_with_padding_or(arg1_shape, padding1, axis, 1) == 1) { + axis = calculate_fixed_axis(axis, strides1); + + numpy_autobroadcast_binop<1, 0>(arg0, + arg1, + out, + arg0_shape, + arg1_shape, + strides0, + strides1, + padding0, + padding1, + output_shape, + axis, + strides0[axis], + elementwise_functor); + } else + numpy_autobroadcast_binop<1, 1>(arg0, + arg1, + out, + arg0_shape, + arg1_shape, + strides0, + strides1, + padding0, + padding1, + output_shape, + axis, + strides0[axis], + elementwise_functor); + } + break; + case op::AutoBroadcastType::PDPD: + // We'll be using CoordinateTransform to handle the broadcasting. No need to + // process arg0 and output shape will be the same as arg0. We need to process + // arg1 and the general procedure is as follows: + // + // (1) Trim trailing ones from arg1 shape. + // (2) Left and right pad arg1 to match arg0 shape. Axis is the index start + // to align between arg0 and arg1. + // (3) Squeeze (remove ones from) arg1 shape, and record the squeezed axis + // indices. + // (3) Using CoordinateTransform, broadcast arg1 to the final output + // shape. The "broadcasted axes" will be those that were squeezed in step + // 23. + // + // Example: + // + // Input shape-> Padded shape-> Squeezed Shape/Squeezed Axes + // ----------- ------------ ---------------------------- + // a: [ 3, 4, 5, 6] [ 3, 4, 5, 6] [ 3, 4, 5, 6] + // b: [ 4, 5, ] [ 1, 4, 5, 1] [ 4, 5 ] {0,3} + // | | | + // v v v + // Output shape + // ------------ + // [ 3, 4, 5, 6] + { + int64_t axis = broadcast_spec.m_axis; + if (axis == -1) { + axis = arg0_shape.size() - arg1_shape.size(); + } + + Shape arg1_padded_shape = arg1_shape; + // Trim trailing ones + while (arg1_padded_shape.size() > 0 && arg1_padded_shape.back() == 1) { + arg1_padded_shape.pop_back(); + } + + for (int64_t i = 0; i < axis; ++i) { + arg1_padded_shape.insert(arg1_padded_shape.begin(), 1); + } + + while (arg1_padded_shape.size() < arg0_shape.size()) { + arg1_padded_shape.insert(arg1_padded_shape.end(), 1); + } + + Shape arg1_squeezed_shape; + AxisSet arg1_squeezed_axes; + + for (size_t i = 0; i < arg0_shape.size(); i++) { + if (arg1_padded_shape[i] == 1) { + arg1_squeezed_axes.insert(i); + } else { + arg1_squeezed_shape.push_back(arg1_padded_shape[i]); + } + } + + NGRAPH_SUPPRESS_DEPRECATED_START + ngraph::CoordinateTransform arg0_transform(arg0_shape); + ngraph::CoordinateTransform arg1_transform(arg1_squeezed_shape); + ngraph::CoordinateTransform output_transform(arg0_shape); + + for (const Coordinate& output_coord : output_transform) { + Coordinate arg1_coord = ngraph::reduce(output_coord, arg1_squeezed_axes, false); + out[output_transform.index(output_coord)] = + elementwise_functor(arg0[arg0_transform.index(output_coord)], + arg1[arg1_transform.index(arg1_coord)]); + } + NGRAPH_SUPPRESS_DEPRECATED_END + } + } +} + +/// \brief Helper function to implement autobroadcasting elementwise ternaryop +/// references. +/// +/// \tparam U Element type of the selector tensor. +/// \tparam T Element type of the input tensors. +/// \tparam Functor Type of the functor for the elementwise operation. Must support +/// operator()(U,T,T), and operator()(U,T,T) must return a value of type +/// T. +/// +/// \param arg0 Pointer to the buffer for selector tensor. +/// \param arg1 Pointer to the buffer for left operand input tensor. +/// \param arg2 Pointer to the buffer for right operand input tensor. +/// \param out Pointer to the buffer for output tensor. This must be pre-allocated by +/// the caller, and must be large enough to hold a tensor of the correct +/// shape. +/// \param broadcast_spec Specification of the auto-broadcasting scheme. +/// \param elementwise_functor Functor implementing the elementwise operation to be +/// applied across the input tensors. Must accept an argument +/// of +/// type U and two of type T, and return a value of type T. +template +void autobroadcast_select(const U* arg0, + const T* arg1, + const T* arg2, + T* out, + const Shape& arg0_shape, + const Shape& arg1_shape, + const Shape& arg2_shape, + const op::AutoBroadcastSpec& broadcast_spec, + Functor elementwise_functor) { + using ngraph::CoordinateTransformBasic; + + switch (broadcast_spec.m_type) { + case op::AutoBroadcastType::NONE: + for (size_t i = 0; i < shape_size(arg0_shape); i++) { + out[i] = elementwise_functor(arg0[i], arg1[i], arg2[i]); + } + break; + case op::AutoBroadcastType::NUMPY: + // Uses same approach as autobroadcast_binop. + { + Shape arg0_padded_shape = arg0_shape; + Shape arg1_padded_shape = arg1_shape; + Shape arg2_padded_shape = arg2_shape; + + size_t max_shape_size = + std::max({arg0_padded_shape.size(), arg1_padded_shape.size(), arg2_padded_shape.size()}); + + while (arg0_padded_shape.size() < max_shape_size) { + arg0_padded_shape.insert(arg0_padded_shape.begin(), 1); + } + + while (arg1_padded_shape.size() < max_shape_size) { + arg1_padded_shape.insert(arg1_padded_shape.begin(), 1); + } + + while (arg2_padded_shape.size() < max_shape_size) { + arg2_padded_shape.insert(arg2_padded_shape.begin(), 1); + } + + Shape arg0_squeezed_shape; + Shape arg1_squeezed_shape; + Shape arg2_squeezed_shape; + AxisSet arg0_squeezed_axes; + AxisSet arg1_squeezed_axes; + AxisSet arg2_squeezed_axes; + Shape output_shape; + + for (size_t i = 0; i < max_shape_size; i++) { + if (arg1_padded_shape[i] == 1) { + arg1_squeezed_axes.insert(i); + } else { + arg1_squeezed_shape.push_back(arg1_padded_shape[i]); + } + + if (arg2_padded_shape[i] == 1) { + arg2_squeezed_axes.insert(i); + } else { + arg2_squeezed_shape.push_back(arg2_padded_shape[i]); + } + + if (arg0_padded_shape[i] == 1) { + arg0_squeezed_axes.insert(i); + } else { + arg0_squeezed_shape.push_back(arg0_padded_shape[i]); + } + + output_shape.push_back(std::max({arg0_padded_shape[i], arg2_padded_shape[i], arg1_padded_shape[i]})); + } + + CoordinateTransformBasic arg0_transform(arg0_squeezed_shape); + CoordinateTransformBasic arg1_transform(arg1_squeezed_shape); + CoordinateTransformBasic arg2_transform(arg2_squeezed_shape); + CoordinateTransformBasic output_transform(output_shape); + + const auto arg0_strides = row_major_strides(arg0_squeezed_shape); + const auto arg1_strides = row_major_strides(arg1_squeezed_shape); + const auto arg2_strides = row_major_strides(arg2_squeezed_shape); + const auto output_strides = row_major_strides(output_shape); + + for (const Coordinate& output_coord : output_transform) { + NGRAPH_SUPPRESS_DEPRECATED_START + const Coordinate arg0_coord = ngraph::reduce(output_coord, arg0_squeezed_axes, false); + const Coordinate arg1_coord = ngraph::reduce(output_coord, arg1_squeezed_axes, false); + const Coordinate arg2_coord = ngraph::reduce(output_coord, arg2_squeezed_axes, false); + NGRAPH_SUPPRESS_DEPRECATED_END + + const size_t arg0_idx = + std::inner_product(arg0_coord.begin(), arg0_coord.end(), arg0_strides.begin(), uint64_t(0)); + const size_t arg1_idx = + std::inner_product(arg1_coord.begin(), arg1_coord.end(), arg1_strides.begin(), uint64_t(0)); + const size_t arg2_idx = + std::inner_product(arg2_coord.begin(), arg2_coord.end(), arg2_strides.begin(), uint64_t(0)); + const size_t output_idx = + std::inner_product(output_coord.begin(), output_coord.end(), output_strides.begin(), uint64_t(0)); + out[output_idx] = elementwise_functor(arg0[arg0_idx], arg1[arg1_idx], arg2[arg2_idx]); + } + } + break; + case op::AutoBroadcastType::PDPD: { + // arg0 and arg2 are broadcast to arg1 shape + int64_t axis = broadcast_spec.m_axis; + if (axis == -1) { + axis = arg1_shape.size() - arg2_shape.size(); + } + + Shape arg0_padded_shape = arg0_shape; + Shape arg2_padded_shape = arg2_shape; + // Trim trailing ones + while (arg0_padded_shape.size() > 0 && arg0_padded_shape.back() == 1) { + arg0_padded_shape.pop_back(); + } + + for (int64_t i = 0; (i < axis) && (arg0_padded_shape.size() < arg1_shape.size()); ++i) { + arg0_padded_shape.insert(arg0_padded_shape.begin(), 1); + } + + while (arg0_padded_shape.size() < arg1_shape.size()) { + arg0_padded_shape.insert(arg0_padded_shape.end(), 1); + } + + while (arg2_padded_shape.size() > 0 && arg2_padded_shape.back() == 1) { + arg2_padded_shape.pop_back(); + } + for (int64_t i = 0; (i < axis) && (arg2_padded_shape.size() < arg1_shape.size()); ++i) { + arg2_padded_shape.insert(arg2_padded_shape.begin(), 1); + } + + while (arg2_padded_shape.size() < arg1_shape.size()) { + arg2_padded_shape.insert(arg2_padded_shape.end(), 1); + } + + Shape arg0_squeezed_shape; + AxisSet arg0_squeezed_axes; + Shape arg2_squeezed_shape; + AxisSet arg2_squeezed_axes; + + for (size_t i = 0; i < arg1_shape.size(); i++) { + if (arg0_padded_shape[i] == 1) { + arg0_squeezed_axes.insert(i); + } else { + arg0_squeezed_shape.push_back(arg0_padded_shape[i]); + } + if (arg2_padded_shape[i] == 1) { + arg2_squeezed_axes.insert(i); + } else { + arg2_squeezed_shape.push_back(arg2_padded_shape[i]); + } + } + + CoordinateTransformBasic arg0_transform(arg0_squeezed_shape); + CoordinateTransformBasic arg1_transform(arg1_shape); + CoordinateTransformBasic arg2_transform(arg2_squeezed_shape); + CoordinateTransformBasic output_transform(arg1_shape); + + const auto arg0_strides = row_major_strides(arg0_squeezed_shape); + const auto arg2_strides = row_major_strides(arg2_squeezed_shape); + const auto output_strides = row_major_strides(arg1_shape); + + for (const Coordinate& output_coord : output_transform) { + NGRAPH_SUPPRESS_DEPRECATED_START + const Coordinate arg0_coord = ngraph::reduce(output_coord, arg0_squeezed_axes, false); + const Coordinate arg2_coord = ngraph::reduce(output_coord, arg2_squeezed_axes, false); + NGRAPH_SUPPRESS_DEPRECATED_END + + const size_t arg0_idx = + std::inner_product(arg0_coord.begin(), arg0_coord.end(), arg0_strides.begin(), uint64_t(0)); + const size_t arg1_idx = + std::inner_product(output_coord.begin(), output_coord.end(), output_strides.begin(), uint64_t(0)); + const size_t arg2_idx = + std::inner_product(arg2_coord.begin(), arg2_coord.end(), arg2_strides.begin(), uint64_t(0)); + const size_t output_idx = + std::inner_product(output_coord.begin(), output_coord.end(), output_strides.begin(), uint64_t(0)); + + out[output_idx] = elementwise_functor(arg0[arg0_idx], arg1[arg1_idx], arg2[arg2_idx]); + } + } + } +} +} // namespace reference +} // namespace ov diff --git a/src/core/reference/include/ngraph/runtime/reference/avg_pool.hpp b/src/core/reference/include/openvino/reference/avg_pool.hpp similarity index 100% rename from src/core/reference/include/ngraph/runtime/reference/avg_pool.hpp rename to src/core/reference/include/openvino/reference/avg_pool.hpp diff --git a/src/core/reference/include/ngraph/runtime/reference/batch_norm.hpp b/src/core/reference/include/openvino/reference/batch_norm.hpp similarity index 100% rename from src/core/reference/include/ngraph/runtime/reference/batch_norm.hpp rename to src/core/reference/include/openvino/reference/batch_norm.hpp diff --git a/src/core/reference/include/ngraph/runtime/reference/binary_convolution.hpp b/src/core/reference/include/openvino/reference/binary_convolution.hpp similarity index 99% rename from src/core/reference/include/ngraph/runtime/reference/binary_convolution.hpp rename to src/core/reference/include/openvino/reference/binary_convolution.hpp index 2be8160a750..4e23fd4b797 100644 --- a/src/core/reference/include/ngraph/runtime/reference/binary_convolution.hpp +++ b/src/core/reference/include/openvino/reference/binary_convolution.hpp @@ -4,8 +4,8 @@ #pragma once -#include "ngraph/runtime/reference/convolution.hpp" #include "ngraph/shape.hpp" +#include "openvino/reference/convolution.hpp" namespace ngraph { namespace runtime { diff --git a/src/core/reference/include/ngraph/runtime/reference/broadcast.hpp b/src/core/reference/include/openvino/reference/broadcast.hpp similarity index 100% rename from src/core/reference/include/ngraph/runtime/reference/broadcast.hpp rename to src/core/reference/include/openvino/reference/broadcast.hpp diff --git a/src/core/reference/include/ngraph/runtime/reference/bucketize.hpp b/src/core/reference/include/openvino/reference/bucketize.hpp similarity index 100% rename from src/core/reference/include/ngraph/runtime/reference/bucketize.hpp rename to src/core/reference/include/openvino/reference/bucketize.hpp diff --git a/src/core/reference/include/ngraph/runtime/reference/ceiling.hpp b/src/core/reference/include/openvino/reference/ceiling.hpp similarity index 100% rename from src/core/reference/include/ngraph/runtime/reference/ceiling.hpp rename to src/core/reference/include/openvino/reference/ceiling.hpp diff --git a/src/core/reference/include/ngraph/runtime/reference/clamp.hpp b/src/core/reference/include/openvino/reference/clamp.hpp similarity index 100% rename from src/core/reference/include/ngraph/runtime/reference/clamp.hpp rename to src/core/reference/include/openvino/reference/clamp.hpp diff --git a/src/core/reference/include/ngraph/runtime/reference/concat.hpp b/src/core/reference/include/openvino/reference/concat.hpp similarity index 100% rename from src/core/reference/include/ngraph/runtime/reference/concat.hpp rename to src/core/reference/include/openvino/reference/concat.hpp diff --git a/src/core/reference/include/ngraph/runtime/reference/constant.hpp b/src/core/reference/include/openvino/reference/constant.hpp similarity index 100% rename from src/core/reference/include/ngraph/runtime/reference/constant.hpp rename to src/core/reference/include/openvino/reference/constant.hpp diff --git a/src/core/reference/include/ngraph/runtime/reference/convert.hpp b/src/core/reference/include/openvino/reference/convert.hpp similarity index 100% rename from src/core/reference/include/ngraph/runtime/reference/convert.hpp rename to src/core/reference/include/openvino/reference/convert.hpp diff --git a/src/core/reference/include/ngraph/runtime/reference/convert_color_nv12.hpp b/src/core/reference/include/openvino/reference/convert_color_nv12.hpp similarity index 100% rename from src/core/reference/include/ngraph/runtime/reference/convert_color_nv12.hpp rename to src/core/reference/include/openvino/reference/convert_color_nv12.hpp diff --git a/src/core/reference/include/ngraph/runtime/reference/convolution.hpp b/src/core/reference/include/openvino/reference/convolution.hpp similarity index 99% rename from src/core/reference/include/ngraph/runtime/reference/convolution.hpp rename to src/core/reference/include/openvino/reference/convolution.hpp index 512ee67941e..bbf463d3e8b 100644 --- a/src/core/reference/include/ngraph/runtime/reference/convolution.hpp +++ b/src/core/reference/include/openvino/reference/convolution.hpp @@ -411,4 +411,4 @@ void convolution(const T* in, } // namespace ngraph // can't be removed currently due to arm-plugin dependency -#include "ngraph/runtime/reference/convolution_backprop_data.hpp" +#include "openvino/reference/convolution_backprop_data.hpp" diff --git a/src/core/reference/include/ngraph/runtime/reference/convolution_backprop_data.hpp b/src/core/reference/include/openvino/reference/convolution_backprop_data.hpp similarity index 99% rename from src/core/reference/include/ngraph/runtime/reference/convolution_backprop_data.hpp rename to src/core/reference/include/openvino/reference/convolution_backprop_data.hpp index ae8ba16ee39..d1ded434b6d 100644 --- a/src/core/reference/include/ngraph/runtime/reference/convolution_backprop_data.hpp +++ b/src/core/reference/include/openvino/reference/convolution_backprop_data.hpp @@ -10,9 +10,9 @@ #include #include "ngraph/axis_vector.hpp" -#include "ngraph/runtime/reference/convolution.hpp" -#include "ngraph/runtime/reference/reverse.hpp" #include "ngraph/util.hpp" +#include "openvino/reference/convolution.hpp" +#include "openvino/reference/reverse.hpp" namespace ngraph { namespace runtime { diff --git a/src/core/reference/include/ngraph/runtime/reference/copy.hpp b/src/core/reference/include/openvino/reference/copy.hpp similarity index 100% rename from src/core/reference/include/ngraph/runtime/reference/copy.hpp rename to src/core/reference/include/openvino/reference/copy.hpp diff --git a/src/core/reference/include/ngraph/runtime/reference/cos.hpp b/src/core/reference/include/openvino/reference/cos.hpp similarity index 100% rename from src/core/reference/include/ngraph/runtime/reference/cos.hpp rename to src/core/reference/include/openvino/reference/cos.hpp diff --git a/src/core/reference/include/ngraph/runtime/reference/cosh.hpp b/src/core/reference/include/openvino/reference/cosh.hpp similarity index 100% rename from src/core/reference/include/ngraph/runtime/reference/cosh.hpp rename to src/core/reference/include/openvino/reference/cosh.hpp diff --git a/src/core/reference/include/ngraph/runtime/reference/ctc_greedy_decoder.hpp b/src/core/reference/include/openvino/reference/ctc_greedy_decoder.hpp similarity index 100% rename from src/core/reference/include/ngraph/runtime/reference/ctc_greedy_decoder.hpp rename to src/core/reference/include/openvino/reference/ctc_greedy_decoder.hpp diff --git a/src/core/reference/include/ngraph/runtime/reference/ctc_greedy_decoder_seq_len.hpp b/src/core/reference/include/openvino/reference/ctc_greedy_decoder_seq_len.hpp similarity index 100% rename from src/core/reference/include/ngraph/runtime/reference/ctc_greedy_decoder_seq_len.hpp rename to src/core/reference/include/openvino/reference/ctc_greedy_decoder_seq_len.hpp diff --git a/src/core/reference/include/ngraph/runtime/reference/ctc_loss.hpp b/src/core/reference/include/openvino/reference/ctc_loss.hpp similarity index 100% rename from src/core/reference/include/ngraph/runtime/reference/ctc_loss.hpp rename to src/core/reference/include/openvino/reference/ctc_loss.hpp diff --git a/src/core/reference/include/ngraph/runtime/reference/cum_sum.hpp b/src/core/reference/include/openvino/reference/cum_sum.hpp similarity index 100% rename from src/core/reference/include/ngraph/runtime/reference/cum_sum.hpp rename to src/core/reference/include/openvino/reference/cum_sum.hpp diff --git a/src/core/reference/include/ngraph/runtime/reference/deformable_convolution.hpp b/src/core/reference/include/openvino/reference/deformable_convolution.hpp similarity index 99% rename from src/core/reference/include/ngraph/runtime/reference/deformable_convolution.hpp rename to src/core/reference/include/openvino/reference/deformable_convolution.hpp index 046f7cbd592..536a2d9ffc6 100644 --- a/src/core/reference/include/ngraph/runtime/reference/deformable_convolution.hpp +++ b/src/core/reference/include/openvino/reference/deformable_convolution.hpp @@ -4,7 +4,7 @@ #pragma once -#include "ngraph/runtime/reference/convolution.hpp" +#include "openvino/reference/convolution.hpp" namespace ngraph { namespace runtime { diff --git a/src/core/reference/include/ngraph/runtime/reference/deformable_psroi_pooling.hpp b/src/core/reference/include/openvino/reference/deformable_psroi_pooling.hpp similarity index 100% rename from src/core/reference/include/ngraph/runtime/reference/deformable_psroi_pooling.hpp rename to src/core/reference/include/openvino/reference/deformable_psroi_pooling.hpp diff --git a/src/core/reference/include/ngraph/runtime/reference/depth_to_space.hpp b/src/core/reference/include/openvino/reference/depth_to_space.hpp similarity index 100% rename from src/core/reference/include/ngraph/runtime/reference/depth_to_space.hpp rename to src/core/reference/include/openvino/reference/depth_to_space.hpp diff --git a/src/core/reference/include/ngraph/runtime/reference/detection_output.hpp b/src/core/reference/include/openvino/reference/detection_output.hpp similarity index 100% rename from src/core/reference/include/ngraph/runtime/reference/detection_output.hpp rename to src/core/reference/include/openvino/reference/detection_output.hpp diff --git a/src/core/reference/include/ngraph/runtime/reference/divide.hpp b/src/core/reference/include/openvino/reference/divide.hpp similarity index 100% rename from src/core/reference/include/ngraph/runtime/reference/divide.hpp rename to src/core/reference/include/openvino/reference/divide.hpp diff --git a/src/core/reference/include/ngraph/runtime/reference/einsum.hpp b/src/core/reference/include/openvino/reference/einsum.hpp similarity index 100% rename from src/core/reference/include/ngraph/runtime/reference/einsum.hpp rename to src/core/reference/include/openvino/reference/einsum.hpp diff --git a/src/core/reference/include/ngraph/runtime/reference/elu.hpp b/src/core/reference/include/openvino/reference/elu.hpp similarity index 100% rename from src/core/reference/include/ngraph/runtime/reference/elu.hpp rename to src/core/reference/include/openvino/reference/elu.hpp diff --git a/src/core/reference/include/ngraph/runtime/reference/embedding_bag_offsets_sum.hpp b/src/core/reference/include/openvino/reference/embedding_bag_offsets_sum.hpp similarity index 100% rename from src/core/reference/include/ngraph/runtime/reference/embedding_bag_offsets_sum.hpp rename to src/core/reference/include/openvino/reference/embedding_bag_offsets_sum.hpp diff --git a/src/core/reference/include/ngraph/runtime/reference/embedding_bag_packed_sum.hpp b/src/core/reference/include/openvino/reference/embedding_bag_packed_sum.hpp similarity index 100% rename from src/core/reference/include/ngraph/runtime/reference/embedding_bag_packed_sum.hpp rename to src/core/reference/include/openvino/reference/embedding_bag_packed_sum.hpp diff --git a/src/core/reference/include/ngraph/runtime/reference/embedding_segments_sum.hpp b/src/core/reference/include/openvino/reference/embedding_segments_sum.hpp similarity index 100% rename from src/core/reference/include/ngraph/runtime/reference/embedding_segments_sum.hpp rename to src/core/reference/include/openvino/reference/embedding_segments_sum.hpp diff --git a/src/core/reference/include/ngraph/runtime/reference/equal.hpp b/src/core/reference/include/openvino/reference/equal.hpp similarity index 100% rename from src/core/reference/include/ngraph/runtime/reference/equal.hpp rename to src/core/reference/include/openvino/reference/equal.hpp diff --git a/src/core/reference/include/ngraph/runtime/reference/erf.hpp b/src/core/reference/include/openvino/reference/erf.hpp similarity index 100% rename from src/core/reference/include/ngraph/runtime/reference/erf.hpp rename to src/core/reference/include/openvino/reference/erf.hpp diff --git a/src/core/reference/include/ngraph/runtime/reference/exp.hpp b/src/core/reference/include/openvino/reference/exp.hpp similarity index 100% rename from src/core/reference/include/ngraph/runtime/reference/exp.hpp rename to src/core/reference/include/openvino/reference/exp.hpp diff --git a/src/core/reference/include/ngraph/runtime/reference/experimental_detectron_detection_output.hpp b/src/core/reference/include/openvino/reference/experimental_detectron_detection_output.hpp similarity index 100% rename from src/core/reference/include/ngraph/runtime/reference/experimental_detectron_detection_output.hpp rename to src/core/reference/include/openvino/reference/experimental_detectron_detection_output.hpp diff --git a/src/core/reference/include/ngraph/runtime/reference/experimental_detectron_prior_grid_generator.hpp b/src/core/reference/include/openvino/reference/experimental_detectron_prior_grid_generator.hpp similarity index 100% rename from src/core/reference/include/ngraph/runtime/reference/experimental_detectron_prior_grid_generator.hpp rename to src/core/reference/include/openvino/reference/experimental_detectron_prior_grid_generator.hpp diff --git a/src/core/reference/include/ngraph/runtime/reference/experimental_detectron_proposal_single_image.hpp b/src/core/reference/include/openvino/reference/experimental_detectron_proposal_single_image.hpp similarity index 100% rename from src/core/reference/include/ngraph/runtime/reference/experimental_detectron_proposal_single_image.hpp rename to src/core/reference/include/openvino/reference/experimental_detectron_proposal_single_image.hpp diff --git a/src/core/reference/include/ngraph/runtime/reference/experimental_detectron_roi_feature_extractor.hpp b/src/core/reference/include/openvino/reference/experimental_detectron_roi_feature_extractor.hpp similarity index 100% rename from src/core/reference/include/ngraph/runtime/reference/experimental_detectron_roi_feature_extractor.hpp rename to src/core/reference/include/openvino/reference/experimental_detectron_roi_feature_extractor.hpp diff --git a/src/core/reference/include/ngraph/runtime/reference/experimental_detectron_topk_rois.hpp b/src/core/reference/include/openvino/reference/experimental_detectron_topk_rois.hpp similarity index 100% rename from src/core/reference/include/ngraph/runtime/reference/experimental_detectron_topk_rois.hpp rename to src/core/reference/include/openvino/reference/experimental_detectron_topk_rois.hpp diff --git a/src/core/reference/include/ngraph/runtime/reference/extract_image_patches.hpp b/src/core/reference/include/openvino/reference/extract_image_patches.hpp similarity index 100% rename from src/core/reference/include/ngraph/runtime/reference/extract_image_patches.hpp rename to src/core/reference/include/openvino/reference/extract_image_patches.hpp diff --git a/src/core/reference/include/ngraph/runtime/reference/eye.hpp b/src/core/reference/include/openvino/reference/eye.hpp similarity index 100% rename from src/core/reference/include/ngraph/runtime/reference/eye.hpp rename to src/core/reference/include/openvino/reference/eye.hpp diff --git a/src/core/reference/include/ngraph/runtime/reference/fake_quantize.hpp b/src/core/reference/include/openvino/reference/fake_quantize.hpp similarity index 100% rename from src/core/reference/include/ngraph/runtime/reference/fake_quantize.hpp rename to src/core/reference/include/openvino/reference/fake_quantize.hpp diff --git a/src/core/reference/include/ngraph/runtime/reference/fft.hpp b/src/core/reference/include/openvino/reference/fft.hpp similarity index 100% rename from src/core/reference/include/ngraph/runtime/reference/fft.hpp rename to src/core/reference/include/openvino/reference/fft.hpp diff --git a/src/core/reference/include/ngraph/runtime/reference/floor.hpp b/src/core/reference/include/openvino/reference/floor.hpp similarity index 100% rename from src/core/reference/include/ngraph/runtime/reference/floor.hpp rename to src/core/reference/include/openvino/reference/floor.hpp diff --git a/src/core/reference/include/ngraph/runtime/reference/floor_mod.hpp b/src/core/reference/include/openvino/reference/floor_mod.hpp similarity index 100% rename from src/core/reference/include/ngraph/runtime/reference/floor_mod.hpp rename to src/core/reference/include/openvino/reference/floor_mod.hpp diff --git a/src/core/reference/include/ngraph/runtime/reference/function.hpp b/src/core/reference/include/openvino/reference/function.hpp similarity index 100% rename from src/core/reference/include/ngraph/runtime/reference/function.hpp rename to src/core/reference/include/openvino/reference/function.hpp diff --git a/src/core/reference/include/ngraph/runtime/reference/gather.hpp b/src/core/reference/include/openvino/reference/gather.hpp similarity index 100% rename from src/core/reference/include/ngraph/runtime/reference/gather.hpp rename to src/core/reference/include/openvino/reference/gather.hpp diff --git a/src/core/reference/include/ngraph/runtime/reference/gather_elements.hpp b/src/core/reference/include/openvino/reference/gather_elements.hpp similarity index 100% rename from src/core/reference/include/ngraph/runtime/reference/gather_elements.hpp rename to src/core/reference/include/openvino/reference/gather_elements.hpp diff --git a/src/core/reference/include/ngraph/runtime/reference/gather_nd.hpp b/src/core/reference/include/openvino/reference/gather_nd.hpp similarity index 100% rename from src/core/reference/include/ngraph/runtime/reference/gather_nd.hpp rename to src/core/reference/include/openvino/reference/gather_nd.hpp diff --git a/src/core/reference/include/ngraph/runtime/reference/gather_tree.hpp b/src/core/reference/include/openvino/reference/gather_tree.hpp similarity index 100% rename from src/core/reference/include/ngraph/runtime/reference/gather_tree.hpp rename to src/core/reference/include/openvino/reference/gather_tree.hpp diff --git a/src/core/reference/include/ngraph/runtime/reference/gelu.hpp b/src/core/reference/include/openvino/reference/gelu.hpp similarity index 100% rename from src/core/reference/include/ngraph/runtime/reference/gelu.hpp rename to src/core/reference/include/openvino/reference/gelu.hpp diff --git a/src/core/reference/include/ngraph/runtime/reference/generate_proposal.hpp b/src/core/reference/include/openvino/reference/generate_proposal.hpp similarity index 100% rename from src/core/reference/include/ngraph/runtime/reference/generate_proposal.hpp rename to src/core/reference/include/openvino/reference/generate_proposal.hpp diff --git a/src/core/reference/include/ngraph/runtime/reference/greater.hpp b/src/core/reference/include/openvino/reference/greater.hpp similarity index 100% rename from src/core/reference/include/ngraph/runtime/reference/greater.hpp rename to src/core/reference/include/openvino/reference/greater.hpp diff --git a/src/core/reference/include/ngraph/runtime/reference/greater_eq.hpp b/src/core/reference/include/openvino/reference/greater_eq.hpp similarity index 100% rename from src/core/reference/include/ngraph/runtime/reference/greater_eq.hpp rename to src/core/reference/include/openvino/reference/greater_eq.hpp diff --git a/src/core/reference/include/ngraph/runtime/reference/grid_sample.hpp b/src/core/reference/include/openvino/reference/grid_sample.hpp similarity index 100% rename from src/core/reference/include/ngraph/runtime/reference/grid_sample.hpp rename to src/core/reference/include/openvino/reference/grid_sample.hpp diff --git a/src/core/reference/include/ngraph/runtime/reference/grn.hpp b/src/core/reference/include/openvino/reference/grn.hpp similarity index 88% rename from src/core/reference/include/ngraph/runtime/reference/grn.hpp rename to src/core/reference/include/openvino/reference/grn.hpp index 81077262a60..731d0af38cb 100644 --- a/src/core/reference/include/ngraph/runtime/reference/grn.hpp +++ b/src/core/reference/include/openvino/reference/grn.hpp @@ -4,7 +4,7 @@ #pragma once -#include "ngraph/runtime/reference/normalize_l2.hpp" +#include "openvino/reference/normalize_l2.hpp" namespace ngraph { namespace runtime { diff --git a/src/core/reference/include/ngraph/runtime/reference/group_convolution.hpp b/src/core/reference/include/openvino/reference/group_convolution.hpp similarity index 97% rename from src/core/reference/include/ngraph/runtime/reference/group_convolution.hpp rename to src/core/reference/include/openvino/reference/group_convolution.hpp index a75951ab0cb..d819bb17240 100644 --- a/src/core/reference/include/ngraph/runtime/reference/group_convolution.hpp +++ b/src/core/reference/include/openvino/reference/group_convolution.hpp @@ -4,8 +4,8 @@ #pragma once -#include "ngraph/runtime/reference/convolution.hpp" -#include "ngraph/runtime/reference/helpers.hpp" +#include "openvino/reference/convolution.hpp" +#include "openvino/reference/helpers.hpp" namespace { constexpr size_t filter_group_axis = 0; diff --git a/src/core/reference/include/ngraph/runtime/reference/group_convolution_backprop_data.hpp b/src/core/reference/include/openvino/reference/group_convolution_backprop_data.hpp similarity index 99% rename from src/core/reference/include/ngraph/runtime/reference/group_convolution_backprop_data.hpp rename to src/core/reference/include/openvino/reference/group_convolution_backprop_data.hpp index 1a19c1b1485..f57c18b34e9 100644 --- a/src/core/reference/include/ngraph/runtime/reference/group_convolution_backprop_data.hpp +++ b/src/core/reference/include/openvino/reference/group_convolution_backprop_data.hpp @@ -4,8 +4,8 @@ #pragma once -#include "ngraph/runtime/reference/group_convolution.hpp" #include "ngraph/util.hpp" +#include "openvino/reference/group_convolution.hpp" namespace ngraph { namespace runtime { diff --git a/src/core/reference/include/ngraph/runtime/reference/group_normalization.hpp b/src/core/reference/include/openvino/reference/group_normalization.hpp similarity index 96% rename from src/core/reference/include/ngraph/runtime/reference/group_normalization.hpp rename to src/core/reference/include/openvino/reference/group_normalization.hpp index d78ef03ba09..542facf2a73 100644 --- a/src/core/reference/include/ngraph/runtime/reference/group_normalization.hpp +++ b/src/core/reference/include/openvino/reference/group_normalization.hpp @@ -7,9 +7,9 @@ #include #include -#include "ngraph/runtime/reference/mean.hpp" -#include "ngraph/runtime/reference/sum.hpp" #include "openvino/core/shape.hpp" +#include "openvino/reference/mean.hpp" +#include "openvino/reference/sum.hpp" namespace ov { namespace reference { diff --git a/src/core/reference/include/ngraph/runtime/reference/gru_cell.hpp b/src/core/reference/include/openvino/reference/gru_cell.hpp similarity index 96% rename from src/core/reference/include/ngraph/runtime/reference/gru_cell.hpp rename to src/core/reference/include/openvino/reference/gru_cell.hpp index 5d041161bfb..f7e87495e95 100644 --- a/src/core/reference/include/ngraph/runtime/reference/gru_cell.hpp +++ b/src/core/reference/include/openvino/reference/gru_cell.hpp @@ -5,15 +5,16 @@ #pragma once #include -#include -#include -#include -#include -#include -#include -#include -#include -#include + +#include "openvino/reference/add.hpp" +#include "openvino/reference/clamp.hpp" +#include "openvino/reference/matmul.hpp" +#include "openvino/reference/multiply.hpp" +#include "openvino/reference/relu.hpp" +#include "openvino/reference/sigmoid.hpp" +#include "openvino/reference/split.hpp" +#include "openvino/reference/subtract.hpp" +#include "openvino/reference/tanh.hpp" namespace ngraph { namespace runtime { diff --git a/src/core/reference/include/ngraph/runtime/reference/hard_sigmoid.hpp b/src/core/reference/include/openvino/reference/hard_sigmoid.hpp similarity index 100% rename from src/core/reference/include/ngraph/runtime/reference/hard_sigmoid.hpp rename to src/core/reference/include/openvino/reference/hard_sigmoid.hpp diff --git a/src/core/reference/include/ngraph/runtime/reference/helpers.hpp b/src/core/reference/include/openvino/reference/helpers.hpp similarity index 100% rename from src/core/reference/include/ngraph/runtime/reference/helpers.hpp rename to src/core/reference/include/openvino/reference/helpers.hpp diff --git a/src/core/reference/include/ngraph/runtime/reference/hsigmoid.hpp b/src/core/reference/include/openvino/reference/hsigmoid.hpp similarity index 100% rename from src/core/reference/include/ngraph/runtime/reference/hsigmoid.hpp rename to src/core/reference/include/openvino/reference/hsigmoid.hpp diff --git a/src/core/reference/include/ngraph/runtime/reference/hswish.hpp b/src/core/reference/include/openvino/reference/hswish.hpp similarity index 100% rename from src/core/reference/include/ngraph/runtime/reference/hswish.hpp rename to src/core/reference/include/openvino/reference/hswish.hpp diff --git a/src/core/reference/include/ngraph/runtime/reference/if.hpp b/src/core/reference/include/openvino/reference/if.hpp similarity index 100% rename from src/core/reference/include/ngraph/runtime/reference/if.hpp rename to src/core/reference/include/openvino/reference/if.hpp diff --git a/src/core/reference/include/ngraph/runtime/reference/interpolate.hpp b/src/core/reference/include/openvino/reference/interpolate.hpp similarity index 100% rename from src/core/reference/include/ngraph/runtime/reference/interpolate.hpp rename to src/core/reference/include/openvino/reference/interpolate.hpp diff --git a/src/core/reference/include/ngraph/runtime/reference/interpolate_pil.hpp b/src/core/reference/include/openvino/reference/interpolate_pil.hpp similarity index 100% rename from src/core/reference/include/ngraph/runtime/reference/interpolate_pil.hpp rename to src/core/reference/include/openvino/reference/interpolate_pil.hpp diff --git a/src/core/reference/include/ngraph/runtime/reference/irdft.hpp b/src/core/reference/include/openvino/reference/irdft.hpp similarity index 100% rename from src/core/reference/include/ngraph/runtime/reference/irdft.hpp rename to src/core/reference/include/openvino/reference/irdft.hpp diff --git a/src/core/reference/include/ngraph/runtime/reference/is_finite.hpp b/src/core/reference/include/openvino/reference/is_finite.hpp similarity index 100% rename from src/core/reference/include/ngraph/runtime/reference/is_finite.hpp rename to src/core/reference/include/openvino/reference/is_finite.hpp diff --git a/src/core/reference/include/ngraph/runtime/reference/is_inf.hpp b/src/core/reference/include/openvino/reference/is_inf.hpp similarity index 100% rename from src/core/reference/include/ngraph/runtime/reference/is_inf.hpp rename to src/core/reference/include/openvino/reference/is_inf.hpp diff --git a/src/core/reference/include/ngraph/runtime/reference/is_nan.hpp b/src/core/reference/include/openvino/reference/is_nan.hpp similarity index 100% rename from src/core/reference/include/ngraph/runtime/reference/is_nan.hpp rename to src/core/reference/include/openvino/reference/is_nan.hpp diff --git a/src/core/reference/include/ngraph/runtime/reference/less.hpp b/src/core/reference/include/openvino/reference/less.hpp similarity index 100% rename from src/core/reference/include/ngraph/runtime/reference/less.hpp rename to src/core/reference/include/openvino/reference/less.hpp diff --git a/src/core/reference/include/ngraph/runtime/reference/less_eq.hpp b/src/core/reference/include/openvino/reference/less_eq.hpp similarity index 100% rename from src/core/reference/include/ngraph/runtime/reference/less_eq.hpp rename to src/core/reference/include/openvino/reference/less_eq.hpp diff --git a/src/core/reference/include/ngraph/runtime/reference/log.hpp b/src/core/reference/include/openvino/reference/log.hpp similarity index 100% rename from src/core/reference/include/ngraph/runtime/reference/log.hpp rename to src/core/reference/include/openvino/reference/log.hpp diff --git a/src/core/reference/include/ngraph/runtime/reference/log_softmax.hpp b/src/core/reference/include/openvino/reference/log_softmax.hpp similarity index 94% rename from src/core/reference/include/ngraph/runtime/reference/log_softmax.hpp rename to src/core/reference/include/openvino/reference/log_softmax.hpp index a67bc81742c..513d2d1eb5a 100644 --- a/src/core/reference/include/ngraph/runtime/reference/log_softmax.hpp +++ b/src/core/reference/include/openvino/reference/log_softmax.hpp @@ -7,9 +7,9 @@ #include #include "ngraph/coordinate_transform.hpp" -#include "ngraph/runtime/reference/max.hpp" -#include "ngraph/runtime/reference/sum.hpp" #include "ngraph/shape_util.hpp" +#include "openvino/reference/max.hpp" +#include "openvino/reference/sum.hpp" namespace ngraph { namespace runtime { diff --git a/src/core/reference/include/ngraph/runtime/reference/logical_reduction.hpp b/src/core/reference/include/openvino/reference/logical_reduction.hpp similarity index 100% rename from src/core/reference/include/ngraph/runtime/reference/logical_reduction.hpp rename to src/core/reference/include/openvino/reference/logical_reduction.hpp diff --git a/src/core/reference/include/ngraph/runtime/reference/loop.hpp b/src/core/reference/include/openvino/reference/loop.hpp similarity index 100% rename from src/core/reference/include/ngraph/runtime/reference/loop.hpp rename to src/core/reference/include/openvino/reference/loop.hpp diff --git a/src/core/reference/include/ngraph/runtime/reference/lrn.hpp b/src/core/reference/include/openvino/reference/lrn.hpp similarity index 100% rename from src/core/reference/include/ngraph/runtime/reference/lrn.hpp rename to src/core/reference/include/openvino/reference/lrn.hpp diff --git a/src/core/reference/include/ngraph/runtime/reference/lstm_cell.hpp b/src/core/reference/include/openvino/reference/lstm_cell.hpp similarity index 97% rename from src/core/reference/include/ngraph/runtime/reference/lstm_cell.hpp rename to src/core/reference/include/openvino/reference/lstm_cell.hpp index a448d7f15a1..1daaafc1c25 100644 --- a/src/core/reference/include/ngraph/runtime/reference/lstm_cell.hpp +++ b/src/core/reference/include/openvino/reference/lstm_cell.hpp @@ -5,15 +5,16 @@ #pragma once #include -#include -#include -#include -#include -#include -#include -#include -#include -#include + +#include "openvino/reference/add.hpp" +#include "openvino/reference/clamp.hpp" +#include "openvino/reference/matmul.hpp" +#include "openvino/reference/multiply.hpp" +#include "openvino/reference/relu.hpp" +#include "openvino/reference/sigmoid.hpp" +#include "openvino/reference/split.hpp" +#include "openvino/reference/subtract.hpp" +#include "openvino/reference/tanh.hpp" namespace ngraph { namespace runtime { diff --git a/src/core/reference/include/ngraph/runtime/reference/matmul.hpp b/src/core/reference/include/openvino/reference/matmul.hpp similarity index 99% rename from src/core/reference/include/ngraph/runtime/reference/matmul.hpp rename to src/core/reference/include/openvino/reference/matmul.hpp index 8e36f7a498c..312b9f2eee6 100644 --- a/src/core/reference/include/ngraph/runtime/reference/matmul.hpp +++ b/src/core/reference/include/openvino/reference/matmul.hpp @@ -10,8 +10,8 @@ #include #include "ngraph/runtime/opt_kernel/reshape.hpp" -#include "ngraph/runtime/reference/broadcast.hpp" #include "ngraph/shape_util.hpp" +#include "openvino/reference/broadcast.hpp" namespace ngraph { namespace runtime { diff --git a/src/core/reference/include/ngraph/runtime/reference/matrix_nms.hpp b/src/core/reference/include/openvino/reference/matrix_nms.hpp similarity index 100% rename from src/core/reference/include/ngraph/runtime/reference/matrix_nms.hpp rename to src/core/reference/include/openvino/reference/matrix_nms.hpp diff --git a/src/core/reference/include/ngraph/runtime/reference/max.hpp b/src/core/reference/include/openvino/reference/max.hpp similarity index 100% rename from src/core/reference/include/ngraph/runtime/reference/max.hpp rename to src/core/reference/include/openvino/reference/max.hpp diff --git a/src/core/reference/include/ngraph/runtime/reference/max_pool.hpp b/src/core/reference/include/openvino/reference/max_pool.hpp similarity index 100% rename from src/core/reference/include/ngraph/runtime/reference/max_pool.hpp rename to src/core/reference/include/openvino/reference/max_pool.hpp diff --git a/src/core/reference/include/ngraph/runtime/reference/maximum.hpp b/src/core/reference/include/openvino/reference/maximum.hpp similarity index 100% rename from src/core/reference/include/ngraph/runtime/reference/maximum.hpp rename to src/core/reference/include/openvino/reference/maximum.hpp diff --git a/src/core/reference/include/ngraph/runtime/reference/mean.hpp b/src/core/reference/include/openvino/reference/mean.hpp similarity index 97% rename from src/core/reference/include/ngraph/runtime/reference/mean.hpp rename to src/core/reference/include/openvino/reference/mean.hpp index 747ec733c4c..934d2b07782 100644 --- a/src/core/reference/include/ngraph/runtime/reference/mean.hpp +++ b/src/core/reference/include/openvino/reference/mean.hpp @@ -10,10 +10,10 @@ #include #include "ngraph/coordinate_transform.hpp" -#include "ngraph/runtime/reference/sum.hpp" #include "ngraph/shape_util.hpp" #include "ngraph/type/bfloat16.hpp" #include "ngraph/type/float16.hpp" +#include "openvino/reference/sum.hpp" namespace ngraph { namespace runtime { diff --git a/src/core/reference/include/ngraph/runtime/reference/min.hpp b/src/core/reference/include/openvino/reference/min.hpp similarity index 100% rename from src/core/reference/include/ngraph/runtime/reference/min.hpp rename to src/core/reference/include/openvino/reference/min.hpp diff --git a/src/core/reference/include/ngraph/runtime/reference/minimum.hpp b/src/core/reference/include/openvino/reference/minimum.hpp similarity index 100% rename from src/core/reference/include/ngraph/runtime/reference/minimum.hpp rename to src/core/reference/include/openvino/reference/minimum.hpp diff --git a/src/core/reference/include/ngraph/runtime/reference/mish.hpp b/src/core/reference/include/openvino/reference/mish.hpp similarity index 100% rename from src/core/reference/include/ngraph/runtime/reference/mish.hpp rename to src/core/reference/include/openvino/reference/mish.hpp diff --git a/src/core/reference/include/ngraph/runtime/reference/mod.hpp b/src/core/reference/include/openvino/reference/mod.hpp similarity index 100% rename from src/core/reference/include/ngraph/runtime/reference/mod.hpp rename to src/core/reference/include/openvino/reference/mod.hpp diff --git a/src/core/reference/include/ngraph/runtime/reference/multiclass_nms.hpp b/src/core/reference/include/openvino/reference/multiclass_nms.hpp similarity index 100% rename from src/core/reference/include/ngraph/runtime/reference/multiclass_nms.hpp rename to src/core/reference/include/openvino/reference/multiclass_nms.hpp diff --git a/src/core/reference/include/ngraph/runtime/reference/multiply.hpp b/src/core/reference/include/openvino/reference/multiply.hpp similarity index 100% rename from src/core/reference/include/ngraph/runtime/reference/multiply.hpp rename to src/core/reference/include/openvino/reference/multiply.hpp diff --git a/src/core/reference/include/ngraph/runtime/reference/mvn.hpp b/src/core/reference/include/openvino/reference/mvn.hpp similarity index 91% rename from src/core/reference/include/ngraph/runtime/reference/mvn.hpp rename to src/core/reference/include/openvino/reference/mvn.hpp index 7ffc557b185..7d87bc59134 100644 --- a/src/core/reference/include/ngraph/runtime/reference/mvn.hpp +++ b/src/core/reference/include/openvino/reference/mvn.hpp @@ -6,15 +6,16 @@ #include #include -#include -#include -#include -#include -#include -#include -#include #include +#include "openvino/reference/add.hpp" +#include "openvino/reference/divide.hpp" +#include "openvino/reference/mean.hpp" +#include "openvino/reference/multiply.hpp" +#include "openvino/reference/sqrt.hpp" +#include "openvino/reference/subtract.hpp" +#include "openvino/reference/sum.hpp" + namespace ngraph { namespace runtime { namespace reference { diff --git a/src/core/reference/include/ngraph/runtime/reference/negate.hpp b/src/core/reference/include/openvino/reference/negate.hpp similarity index 100% rename from src/core/reference/include/ngraph/runtime/reference/negate.hpp rename to src/core/reference/include/openvino/reference/negate.hpp diff --git a/src/core/reference/include/ngraph/runtime/reference/non_max_suppression.hpp b/src/core/reference/include/openvino/reference/non_max_suppression.hpp similarity index 100% rename from src/core/reference/include/ngraph/runtime/reference/non_max_suppression.hpp rename to src/core/reference/include/openvino/reference/non_max_suppression.hpp diff --git a/src/core/reference/include/ngraph/runtime/reference/non_zero.hpp b/src/core/reference/include/openvino/reference/non_zero.hpp similarity index 100% rename from src/core/reference/include/ngraph/runtime/reference/non_zero.hpp rename to src/core/reference/include/openvino/reference/non_zero.hpp diff --git a/src/core/reference/include/ngraph/runtime/reference/normalize_l2.hpp b/src/core/reference/include/openvino/reference/normalize_l2.hpp similarity index 97% rename from src/core/reference/include/ngraph/runtime/reference/normalize_l2.hpp rename to src/core/reference/include/openvino/reference/normalize_l2.hpp index 5fc910be88c..2a66d54fa6b 100644 --- a/src/core/reference/include/ngraph/runtime/reference/normalize_l2.hpp +++ b/src/core/reference/include/openvino/reference/normalize_l2.hpp @@ -5,9 +5,9 @@ #pragma once #include -#include #include "ngraph/runtime/reference/autobroadcast_binop.hpp" +#include "openvino/reference/sum.hpp" namespace ngraph { namespace runtime { diff --git a/src/core/reference/include/ngraph/runtime/reference/not.hpp b/src/core/reference/include/openvino/reference/not.hpp similarity index 100% rename from src/core/reference/include/ngraph/runtime/reference/not.hpp rename to src/core/reference/include/openvino/reference/not.hpp diff --git a/src/core/reference/include/ngraph/runtime/reference/not_equal.hpp b/src/core/reference/include/openvino/reference/not_equal.hpp similarity index 100% rename from src/core/reference/include/ngraph/runtime/reference/not_equal.hpp rename to src/core/reference/include/openvino/reference/not_equal.hpp diff --git a/src/core/reference/include/ngraph/runtime/reference/one_hot.hpp b/src/core/reference/include/openvino/reference/one_hot.hpp similarity index 100% rename from src/core/reference/include/ngraph/runtime/reference/one_hot.hpp rename to src/core/reference/include/openvino/reference/one_hot.hpp diff --git a/src/core/reference/include/ngraph/runtime/reference/or.hpp b/src/core/reference/include/openvino/reference/or.hpp similarity index 100% rename from src/core/reference/include/ngraph/runtime/reference/or.hpp rename to src/core/reference/include/openvino/reference/or.hpp diff --git a/src/core/reference/include/ngraph/runtime/reference/pad.hpp b/src/core/reference/include/openvino/reference/pad.hpp similarity index 100% rename from src/core/reference/include/ngraph/runtime/reference/pad.hpp rename to src/core/reference/include/openvino/reference/pad.hpp diff --git a/src/core/reference/include/openvino/reference/power.hpp b/src/core/reference/include/openvino/reference/power.hpp new file mode 100644 index 00000000000..8986068c635 --- /dev/null +++ b/src/core/reference/include/openvino/reference/power.hpp @@ -0,0 +1,35 @@ +// Copyright (C) 2018-2023 Intel Corporation +// SPDX-License-Identifier: Apache-2.0 +// + +#pragma once + +#include +#include + +#include "ngraph/op/util/attr_types.hpp" +#include "ngraph/runtime/reference/autobroadcast_binop.hpp" +#include "ngraph/shape.hpp" + +namespace ov { +namespace reference { +template +void power(const T* arg0, const T* arg1, T* out, size_t count) { + for (size_t i = 0; i < count; i++) { + out[i] = static_cast(std::pow(arg0[i], arg1[i])); + } +} + +template +void power(const T* arg0, + const T* arg1, + T* out, + const Shape& arg0_shape, + const Shape& arg1_shape, + const op::AutoBroadcastSpec& broadcast_spec) { + autobroadcast_binop(arg0, arg1, out, arg0_shape, arg1_shape, broadcast_spec, [](T x, T y) -> T { + return static_cast(std::pow(x, y)); + }); +} +} // namespace reference +} // namespace ov diff --git a/src/core/reference/include/ngraph/runtime/reference/prelu.hpp b/src/core/reference/include/openvino/reference/prelu.hpp similarity index 100% rename from src/core/reference/include/ngraph/runtime/reference/prelu.hpp rename to src/core/reference/include/openvino/reference/prelu.hpp diff --git a/src/core/reference/include/ngraph/runtime/reference/prior_box.hpp b/src/core/reference/include/openvino/reference/prior_box.hpp similarity index 100% rename from src/core/reference/include/ngraph/runtime/reference/prior_box.hpp rename to src/core/reference/include/openvino/reference/prior_box.hpp diff --git a/src/core/reference/include/ngraph/runtime/reference/prior_box_clustered.hpp b/src/core/reference/include/openvino/reference/prior_box_clustered.hpp similarity index 100% rename from src/core/reference/include/ngraph/runtime/reference/prior_box_clustered.hpp rename to src/core/reference/include/openvino/reference/prior_box_clustered.hpp diff --git a/src/core/reference/include/ngraph/runtime/reference/product.hpp b/src/core/reference/include/openvino/reference/product.hpp similarity index 100% rename from src/core/reference/include/ngraph/runtime/reference/product.hpp rename to src/core/reference/include/openvino/reference/product.hpp diff --git a/src/core/reference/include/ngraph/runtime/reference/proposal.hpp b/src/core/reference/include/openvino/reference/proposal.hpp similarity index 100% rename from src/core/reference/include/ngraph/runtime/reference/proposal.hpp rename to src/core/reference/include/openvino/reference/proposal.hpp diff --git a/src/core/reference/include/ngraph/runtime/reference/psroi_pooling.hpp b/src/core/reference/include/openvino/reference/psroi_pooling.hpp similarity index 100% rename from src/core/reference/include/ngraph/runtime/reference/psroi_pooling.hpp rename to src/core/reference/include/openvino/reference/psroi_pooling.hpp diff --git a/src/core/reference/include/ngraph/runtime/reference/quantize.hpp b/src/core/reference/include/openvino/reference/quantize.hpp similarity index 100% rename from src/core/reference/include/ngraph/runtime/reference/quantize.hpp rename to src/core/reference/include/openvino/reference/quantize.hpp diff --git a/src/core/reference/include/ngraph/runtime/reference/random_uniform.hpp b/src/core/reference/include/openvino/reference/random_uniform.hpp similarity index 100% rename from src/core/reference/include/ngraph/runtime/reference/random_uniform.hpp rename to src/core/reference/include/openvino/reference/random_uniform.hpp diff --git a/src/core/reference/include/ngraph/runtime/reference/range.hpp b/src/core/reference/include/openvino/reference/range.hpp similarity index 100% rename from src/core/reference/include/ngraph/runtime/reference/range.hpp rename to src/core/reference/include/openvino/reference/range.hpp diff --git a/src/core/reference/include/ngraph/runtime/reference/rdft.hpp b/src/core/reference/include/openvino/reference/rdft.hpp similarity index 100% rename from src/core/reference/include/ngraph/runtime/reference/rdft.hpp rename to src/core/reference/include/openvino/reference/rdft.hpp diff --git a/src/core/reference/include/ngraph/runtime/reference/reduce_l1.hpp b/src/core/reference/include/openvino/reference/reduce_l1.hpp similarity index 100% rename from src/core/reference/include/ngraph/runtime/reference/reduce_l1.hpp rename to src/core/reference/include/openvino/reference/reduce_l1.hpp diff --git a/src/core/reference/include/ngraph/runtime/reference/reduce_l2.hpp b/src/core/reference/include/openvino/reference/reduce_l2.hpp similarity index 100% rename from src/core/reference/include/ngraph/runtime/reference/reduce_l2.hpp rename to src/core/reference/include/openvino/reference/reduce_l2.hpp diff --git a/src/core/reference/include/ngraph/runtime/reference/region_yolo.hpp b/src/core/reference/include/openvino/reference/region_yolo.hpp similarity index 100% rename from src/core/reference/include/ngraph/runtime/reference/region_yolo.hpp rename to src/core/reference/include/openvino/reference/region_yolo.hpp diff --git a/src/core/reference/include/ngraph/runtime/reference/relu.hpp b/src/core/reference/include/openvino/reference/relu.hpp similarity index 100% rename from src/core/reference/include/ngraph/runtime/reference/relu.hpp rename to src/core/reference/include/openvino/reference/relu.hpp diff --git a/src/core/reference/include/ngraph/runtime/reference/reorg_yolo.hpp b/src/core/reference/include/openvino/reference/reorg_yolo.hpp similarity index 100% rename from src/core/reference/include/ngraph/runtime/reference/reorg_yolo.hpp rename to src/core/reference/include/openvino/reference/reorg_yolo.hpp diff --git a/src/core/reference/include/ngraph/runtime/reference/reshape.hpp b/src/core/reference/include/openvino/reference/reshape.hpp similarity index 100% rename from src/core/reference/include/ngraph/runtime/reference/reshape.hpp rename to src/core/reference/include/openvino/reference/reshape.hpp diff --git a/src/core/reference/include/ngraph/runtime/reference/result.hpp b/src/core/reference/include/openvino/reference/result.hpp similarity index 100% rename from src/core/reference/include/ngraph/runtime/reference/result.hpp rename to src/core/reference/include/openvino/reference/result.hpp diff --git a/src/core/reference/include/ngraph/runtime/reference/reverse.hpp b/src/core/reference/include/openvino/reference/reverse.hpp similarity index 100% rename from src/core/reference/include/ngraph/runtime/reference/reverse.hpp rename to src/core/reference/include/openvino/reference/reverse.hpp diff --git a/src/core/reference/include/ngraph/runtime/reference/reverse_sequence.hpp b/src/core/reference/include/openvino/reference/reverse_sequence.hpp similarity index 100% rename from src/core/reference/include/ngraph/runtime/reference/reverse_sequence.hpp rename to src/core/reference/include/openvino/reference/reverse_sequence.hpp diff --git a/src/core/reference/include/ngraph/runtime/reference/rnn_cell.hpp b/src/core/reference/include/openvino/reference/rnn_cell.hpp similarity index 92% rename from src/core/reference/include/ngraph/runtime/reference/rnn_cell.hpp rename to src/core/reference/include/openvino/reference/rnn_cell.hpp index 99e4a781604..404dc610658 100644 --- a/src/core/reference/include/ngraph/runtime/reference/rnn_cell.hpp +++ b/src/core/reference/include/openvino/reference/rnn_cell.hpp @@ -5,12 +5,13 @@ #pragma once #include -#include -#include -#include -#include -#include -#include + +#include "openvino/reference/add.hpp" +#include "openvino/reference/clamp.hpp" +#include "openvino/reference/matmul.hpp" +#include "openvino/reference/relu.hpp" +#include "openvino/reference/sigmoid.hpp" +#include "openvino/reference/tanh.hpp" namespace ngraph { namespace runtime { diff --git a/src/core/reference/include/ngraph/runtime/reference/roi_align.hpp b/src/core/reference/include/openvino/reference/roi_align.hpp similarity index 100% rename from src/core/reference/include/ngraph/runtime/reference/roi_align.hpp rename to src/core/reference/include/openvino/reference/roi_align.hpp diff --git a/src/core/reference/include/ngraph/runtime/reference/roi_pooling.hpp b/src/core/reference/include/openvino/reference/roi_pooling.hpp similarity index 100% rename from src/core/reference/include/ngraph/runtime/reference/roi_pooling.hpp rename to src/core/reference/include/openvino/reference/roi_pooling.hpp diff --git a/src/core/reference/include/ngraph/runtime/reference/roll.hpp b/src/core/reference/include/openvino/reference/roll.hpp similarity index 100% rename from src/core/reference/include/ngraph/runtime/reference/roll.hpp rename to src/core/reference/include/openvino/reference/roll.hpp diff --git a/src/core/reference/include/ngraph/runtime/reference/scatter_elements_update.hpp b/src/core/reference/include/openvino/reference/scatter_elements_update.hpp similarity index 100% rename from src/core/reference/include/ngraph/runtime/reference/scatter_elements_update.hpp rename to src/core/reference/include/openvino/reference/scatter_elements_update.hpp diff --git a/src/core/reference/include/ngraph/runtime/reference/scatter_nd_update.hpp b/src/core/reference/include/openvino/reference/scatter_nd_update.hpp similarity index 100% rename from src/core/reference/include/ngraph/runtime/reference/scatter_nd_update.hpp rename to src/core/reference/include/openvino/reference/scatter_nd_update.hpp diff --git a/src/core/reference/include/ngraph/runtime/reference/scatter_update.hpp b/src/core/reference/include/openvino/reference/scatter_update.hpp similarity index 100% rename from src/core/reference/include/ngraph/runtime/reference/scatter_update.hpp rename to src/core/reference/include/openvino/reference/scatter_update.hpp diff --git a/src/core/reference/include/ngraph/runtime/reference/select.hpp b/src/core/reference/include/openvino/reference/select.hpp similarity index 100% rename from src/core/reference/include/ngraph/runtime/reference/select.hpp rename to src/core/reference/include/openvino/reference/select.hpp diff --git a/src/core/reference/include/ngraph/runtime/reference/selu.hpp b/src/core/reference/include/openvino/reference/selu.hpp similarity index 100% rename from src/core/reference/include/ngraph/runtime/reference/selu.hpp rename to src/core/reference/include/openvino/reference/selu.hpp diff --git a/src/core/reference/include/ngraph/runtime/reference/sequences.hpp b/src/core/reference/include/openvino/reference/sequences.hpp similarity index 99% rename from src/core/reference/include/ngraph/runtime/reference/sequences.hpp rename to src/core/reference/include/openvino/reference/sequences.hpp index 47d921589c7..b1a2523ede8 100644 --- a/src/core/reference/include/ngraph/runtime/reference/sequences.hpp +++ b/src/core/reference/include/openvino/reference/sequences.hpp @@ -5,12 +5,12 @@ #pragma once #include -#include -#include -#include -#include -#include +#include "openvino/reference/concat.hpp" +#include "openvino/reference/gru_cell.hpp" +#include "openvino/reference/lstm_cell.hpp" +#include "openvino/reference/rnn_cell.hpp" +#include "openvino/reference/split.hpp" #include "reverse_sequence.hpp" namespace ngraph { diff --git a/src/core/reference/include/ngraph/runtime/reference/shape_of.hpp b/src/core/reference/include/openvino/reference/shape_of.hpp similarity index 100% rename from src/core/reference/include/ngraph/runtime/reference/shape_of.hpp rename to src/core/reference/include/openvino/reference/shape_of.hpp diff --git a/src/core/reference/include/ngraph/runtime/reference/shuffle_channels.hpp b/src/core/reference/include/openvino/reference/shuffle_channels.hpp similarity index 100% rename from src/core/reference/include/ngraph/runtime/reference/shuffle_channels.hpp rename to src/core/reference/include/openvino/reference/shuffle_channels.hpp diff --git a/src/core/reference/include/ngraph/runtime/reference/sigmoid.hpp b/src/core/reference/include/openvino/reference/sigmoid.hpp similarity index 100% rename from src/core/reference/include/ngraph/runtime/reference/sigmoid.hpp rename to src/core/reference/include/openvino/reference/sigmoid.hpp diff --git a/src/core/reference/include/ngraph/runtime/reference/sign.hpp b/src/core/reference/include/openvino/reference/sign.hpp similarity index 100% rename from src/core/reference/include/ngraph/runtime/reference/sign.hpp rename to src/core/reference/include/openvino/reference/sign.hpp diff --git a/src/core/reference/include/ngraph/runtime/reference/sin.hpp b/src/core/reference/include/openvino/reference/sin.hpp similarity index 100% rename from src/core/reference/include/ngraph/runtime/reference/sin.hpp rename to src/core/reference/include/openvino/reference/sin.hpp diff --git a/src/core/reference/include/ngraph/runtime/reference/sinh.hpp b/src/core/reference/include/openvino/reference/sinh.hpp similarity index 100% rename from src/core/reference/include/ngraph/runtime/reference/sinh.hpp rename to src/core/reference/include/openvino/reference/sinh.hpp diff --git a/src/core/reference/include/ngraph/runtime/reference/slice.hpp b/src/core/reference/include/openvino/reference/slice.hpp similarity index 100% rename from src/core/reference/include/ngraph/runtime/reference/slice.hpp rename to src/core/reference/include/openvino/reference/slice.hpp diff --git a/src/core/reference/include/openvino/reference/softmax.hpp b/src/core/reference/include/openvino/reference/softmax.hpp new file mode 100644 index 00000000000..7ac0e64d5ae --- /dev/null +++ b/src/core/reference/include/openvino/reference/softmax.hpp @@ -0,0 +1,44 @@ +// Copyright (C) 2018-2023 Intel Corporation +// SPDX-License-Identifier: Apache-2.0 +// + +#pragma once + +#include + +#include "ngraph/coordinate_transform.hpp" +#include "ngraph/shape_util.hpp" +#include "openvino/reference/max.hpp" +#include "openvino/reference/sum.hpp" + +namespace ov { +namespace reference { +template +void softmax(const T* arg, T* out, const Shape& shape, const AxisSet& axes) { + NGRAPH_SUPPRESS_DEPRECATED_START + auto temp_shape = ngraph::reduce(shape, axes, true); + auto temp_elements = shape_size(temp_shape); + auto temp_ptr = new T[temp_elements]; + + ngraph::runtime::reference::max(arg, temp_ptr, shape, axes); + + ngraph::CoordinateTransform transform(shape); + ngraph::CoordinateTransform temp_transform(temp_shape); + for (const Coordinate& coord : transform) { + Coordinate temp_coord = ngraph::reduce(coord, axes, true); + out[transform.index(coord)] = + std::exp(arg[transform.index(coord)] - temp_ptr[temp_transform.index(temp_coord)]); + } + + ngraph::runtime::reference::sum(out, temp_ptr, shape, axes); + + for (const Coordinate& coord : transform) { + Coordinate temp_coord = ngraph::reduce(coord, axes, true); + out[transform.index(coord)] /= temp_ptr[temp_transform.index(temp_coord)]; + } + + delete[] temp_ptr; + NGRAPH_SUPPRESS_DEPRECATED_END +} +} // namespace reference +} // namespace ov diff --git a/src/core/reference/include/ngraph/runtime/reference/softplus.hpp b/src/core/reference/include/openvino/reference/softplus.hpp similarity index 100% rename from src/core/reference/include/ngraph/runtime/reference/softplus.hpp rename to src/core/reference/include/openvino/reference/softplus.hpp diff --git a/src/core/reference/include/ngraph/runtime/reference/softsign.hpp b/src/core/reference/include/openvino/reference/softsign.hpp similarity index 100% rename from src/core/reference/include/ngraph/runtime/reference/softsign.hpp rename to src/core/reference/include/openvino/reference/softsign.hpp diff --git a/src/core/reference/include/ngraph/runtime/reference/space_to_depth.hpp b/src/core/reference/include/openvino/reference/space_to_depth.hpp similarity index 100% rename from src/core/reference/include/ngraph/runtime/reference/space_to_depth.hpp rename to src/core/reference/include/openvino/reference/space_to_depth.hpp diff --git a/src/core/reference/include/ngraph/runtime/reference/split.hpp b/src/core/reference/include/openvino/reference/split.hpp similarity index 89% rename from src/core/reference/include/ngraph/runtime/reference/split.hpp rename to src/core/reference/include/openvino/reference/split.hpp index b49f488d8c9..033905ec23d 100644 --- a/src/core/reference/include/ngraph/runtime/reference/split.hpp +++ b/src/core/reference/include/openvino/reference/split.hpp @@ -6,7 +6,7 @@ #include -#include "ngraph/runtime/reference/slice.hpp" +#include "openvino/reference/slice.hpp" namespace ngraph { namespace runtime { diff --git a/src/core/reference/include/ngraph/runtime/reference/sqrt.hpp b/src/core/reference/include/openvino/reference/sqrt.hpp similarity index 100% rename from src/core/reference/include/ngraph/runtime/reference/sqrt.hpp rename to src/core/reference/include/openvino/reference/sqrt.hpp diff --git a/src/core/reference/include/ngraph/runtime/reference/squared_difference.hpp b/src/core/reference/include/openvino/reference/squared_difference.hpp similarity index 100% rename from src/core/reference/include/ngraph/runtime/reference/squared_difference.hpp rename to src/core/reference/include/openvino/reference/squared_difference.hpp diff --git a/src/core/reference/include/ngraph/runtime/reference/strided_slice.hpp b/src/core/reference/include/openvino/reference/strided_slice.hpp similarity index 86% rename from src/core/reference/include/ngraph/runtime/reference/strided_slice.hpp rename to src/core/reference/include/openvino/reference/strided_slice.hpp index 90c58f71b25..82b065b8e0b 100644 --- a/src/core/reference/include/ngraph/runtime/reference/strided_slice.hpp +++ b/src/core/reference/include/openvino/reference/strided_slice.hpp @@ -10,9 +10,9 @@ #include "ngraph/coordinate_transform.hpp" #include "ngraph/runtime/host_tensor.hpp" #include "ngraph/runtime/opt_kernel/reshape.hpp" -#include "ngraph/runtime/reference/reverse.hpp" -#include "ngraph/runtime/reference/slice.hpp" #include "ngraph/slice_plan.hpp" +#include "openvino/reference/reverse.hpp" +#include "openvino/reference/slice.hpp" namespace ngraph { namespace runtime { diff --git a/src/core/reference/include/ngraph/runtime/reference/subtract.hpp b/src/core/reference/include/openvino/reference/subtract.hpp similarity index 100% rename from src/core/reference/include/ngraph/runtime/reference/subtract.hpp rename to src/core/reference/include/openvino/reference/subtract.hpp diff --git a/src/core/reference/include/ngraph/runtime/reference/sum.hpp b/src/core/reference/include/openvino/reference/sum.hpp similarity index 100% rename from src/core/reference/include/ngraph/runtime/reference/sum.hpp rename to src/core/reference/include/openvino/reference/sum.hpp diff --git a/src/core/reference/include/ngraph/runtime/reference/swish.hpp b/src/core/reference/include/openvino/reference/swish.hpp similarity index 100% rename from src/core/reference/include/ngraph/runtime/reference/swish.hpp rename to src/core/reference/include/openvino/reference/swish.hpp diff --git a/src/core/reference/include/ngraph/runtime/reference/tan.hpp b/src/core/reference/include/openvino/reference/tan.hpp similarity index 100% rename from src/core/reference/include/ngraph/runtime/reference/tan.hpp rename to src/core/reference/include/openvino/reference/tan.hpp diff --git a/src/core/reference/include/ngraph/runtime/reference/tanh.hpp b/src/core/reference/include/openvino/reference/tanh.hpp similarity index 100% rename from src/core/reference/include/ngraph/runtime/reference/tanh.hpp rename to src/core/reference/include/openvino/reference/tanh.hpp diff --git a/src/core/reference/include/ngraph/runtime/reference/tensor_iterator.hpp b/src/core/reference/include/openvino/reference/tensor_iterator.hpp similarity index 100% rename from src/core/reference/include/ngraph/runtime/reference/tensor_iterator.hpp rename to src/core/reference/include/openvino/reference/tensor_iterator.hpp diff --git a/src/core/reference/include/ngraph/runtime/reference/tile.hpp b/src/core/reference/include/openvino/reference/tile.hpp similarity index 100% rename from src/core/reference/include/ngraph/runtime/reference/tile.hpp rename to src/core/reference/include/openvino/reference/tile.hpp diff --git a/src/core/reference/include/ngraph/runtime/reference/topk.hpp b/src/core/reference/include/openvino/reference/topk.hpp similarity index 100% rename from src/core/reference/include/ngraph/runtime/reference/topk.hpp rename to src/core/reference/include/openvino/reference/topk.hpp diff --git a/src/core/reference/include/ngraph/runtime/reference/transpose.hpp b/src/core/reference/include/openvino/reference/transpose.hpp similarity index 100% rename from src/core/reference/include/ngraph/runtime/reference/transpose.hpp rename to src/core/reference/include/openvino/reference/transpose.hpp diff --git a/src/core/reference/include/ngraph/runtime/reference/unique.hpp b/src/core/reference/include/openvino/reference/unique.hpp similarity index 100% rename from src/core/reference/include/ngraph/runtime/reference/unique.hpp rename to src/core/reference/include/openvino/reference/unique.hpp diff --git a/src/core/reference/include/ngraph/runtime/reference/utils/fft_common.hpp b/src/core/reference/include/openvino/reference/utils/fft_common.hpp similarity index 100% rename from src/core/reference/include/ngraph/runtime/reference/utils/fft_common.hpp rename to src/core/reference/include/openvino/reference/utils/fft_common.hpp diff --git a/src/core/reference/include/ngraph/runtime/reference/utils/nms_common.hpp b/src/core/reference/include/openvino/reference/utils/nms_common.hpp similarity index 100% rename from src/core/reference/include/ngraph/runtime/reference/utils/nms_common.hpp rename to src/core/reference/include/openvino/reference/utils/nms_common.hpp diff --git a/src/core/reference/include/ngraph/runtime/reference/utils/span.hpp b/src/core/reference/include/openvino/reference/utils/span.hpp similarity index 100% rename from src/core/reference/include/ngraph/runtime/reference/utils/span.hpp rename to src/core/reference/include/openvino/reference/utils/span.hpp diff --git a/src/core/reference/include/ngraph/runtime/reference/xor.hpp b/src/core/reference/include/openvino/reference/xor.hpp similarity index 100% rename from src/core/reference/include/ngraph/runtime/reference/xor.hpp rename to src/core/reference/include/openvino/reference/xor.hpp diff --git a/src/core/reference/src/runtime/reference/broadcast.cpp b/src/core/reference/src/op/broadcast.cpp similarity index 92% rename from src/core/reference/src/runtime/reference/broadcast.cpp rename to src/core/reference/src/op/broadcast.cpp index 798ce06be17..78cb26ad5c7 100644 --- a/src/core/reference/src/runtime/reference/broadcast.cpp +++ b/src/core/reference/src/op/broadcast.cpp @@ -2,9 +2,9 @@ // SPDX-License-Identifier: Apache-2.0 // -#include "ngraph/runtime/reference/broadcast.hpp" +#include "openvino/reference/broadcast.hpp" -#include "ngraph/runtime/reference/tile.hpp" +#include "openvino/reference/tile.hpp" namespace ngraph { namespace runtime { diff --git a/src/core/reference/src/runtime/reference/concat.cpp b/src/core/reference/src/op/concat.cpp similarity index 96% rename from src/core/reference/src/runtime/reference/concat.cpp rename to src/core/reference/src/op/concat.cpp index ed9cf57ef5f..281608cd682 100644 --- a/src/core/reference/src/runtime/reference/concat.cpp +++ b/src/core/reference/src/op/concat.cpp @@ -2,7 +2,7 @@ // SPDX-License-Identifier: Apache-2.0 // -#include "ngraph/runtime/reference/concat.hpp" +#include "openvino/reference/concat.hpp" #include diff --git a/src/core/reference/src/runtime/reference/convert.cpp b/src/core/reference/src/op/convert.cpp similarity index 99% rename from src/core/reference/src/runtime/reference/convert.cpp rename to src/core/reference/src/op/convert.cpp index f30753ed13f..efde306ed1d 100644 --- a/src/core/reference/src/runtime/reference/convert.cpp +++ b/src/core/reference/src/op/convert.cpp @@ -2,7 +2,7 @@ // SPDX-License-Identifier: Apache-2.0 // -#include "ngraph/runtime/reference/convert.hpp" +#include "openvino/reference/convert.hpp" #if defined(OPENVINO_ARCH_X86) || defined(OPENVINO_ARCH_X86_64) # include "jit_generator.hpp" diff --git a/src/core/reference/src/runtime/reference/depth_to_space.cpp b/src/core/reference/src/op/depth_to_space.cpp similarity index 98% rename from src/core/reference/src/runtime/reference/depth_to_space.cpp rename to src/core/reference/src/op/depth_to_space.cpp index 81db617e9e4..f4f688c46de 100644 --- a/src/core/reference/src/runtime/reference/depth_to_space.cpp +++ b/src/core/reference/src/op/depth_to_space.cpp @@ -2,7 +2,7 @@ // SPDX-License-Identifier: Apache-2.0 // -#include "ngraph/runtime/reference/depth_to_space.hpp" +#include "openvino/reference/depth_to_space.hpp" #include #include diff --git a/src/core/reference/src/runtime/reference/einsum.cpp b/src/core/reference/src/op/einsum.cpp similarity index 99% rename from src/core/reference/src/runtime/reference/einsum.cpp rename to src/core/reference/src/op/einsum.cpp index 2f8bf1963ad..7c9a58293f5 100644 --- a/src/core/reference/src/runtime/reference/einsum.cpp +++ b/src/core/reference/src/op/einsum.cpp @@ -2,19 +2,19 @@ // SPDX-License-Identifier: Apache-2.0 // -#include "ngraph/runtime/reference/einsum.hpp" +#include "openvino/reference/einsum.hpp" #include #include -#include "ngraph/runtime/reference/broadcast.hpp" -#include "ngraph/runtime/reference/matmul.hpp" -#include "ngraph/runtime/reference/multiply.hpp" -#include "ngraph/runtime/reference/reshape.hpp" -#include "ngraph/runtime/reference/sum.hpp" -#include "ngraph/runtime/reference/transpose.hpp" -#include "ngraph/runtime/reference/utils/span.hpp" #include "ngraph/shape.hpp" +#include "openvino/reference/broadcast.hpp" +#include "openvino/reference/matmul.hpp" +#include "openvino/reference/multiply.hpp" +#include "openvino/reference/reshape.hpp" +#include "openvino/reference/sum.hpp" +#include "openvino/reference/transpose.hpp" +#include "openvino/reference/utils/span.hpp" NGRAPH_SUPPRESS_DEPRECATED_START namespace ngraph { diff --git a/src/core/reference/src/runtime/reference/experimental_detectron_detection_output.cpp b/src/core/reference/src/op/experimental_detectron_detection_output.cpp similarity index 99% rename from src/core/reference/src/runtime/reference/experimental_detectron_detection_output.cpp rename to src/core/reference/src/op/experimental_detectron_detection_output.cpp index 3de7f044ba8..8a7002e035f 100644 --- a/src/core/reference/src/runtime/reference/experimental_detectron_detection_output.cpp +++ b/src/core/reference/src/op/experimental_detectron_detection_output.cpp @@ -20,8 +20,8 @@ #include #include -#include "ngraph/runtime/reference/experimental_detectron_detection_output.hpp" #include "ngraph/shape.hpp" +#include "openvino/reference/experimental_detectron_detection_output.hpp" namespace { void refine_boxes(const float* boxes, diff --git a/src/core/reference/src/runtime/reference/experimental_detectron_proposal_single_image.cpp b/src/core/reference/src/op/experimental_detectron_proposal_single_image.cpp similarity index 99% rename from src/core/reference/src/runtime/reference/experimental_detectron_proposal_single_image.cpp rename to src/core/reference/src/op/experimental_detectron_proposal_single_image.cpp index 9a320082bc2..2458dc392db 100644 --- a/src/core/reference/src/runtime/reference/experimental_detectron_proposal_single_image.cpp +++ b/src/core/reference/src/op/experimental_detectron_proposal_single_image.cpp @@ -2,7 +2,7 @@ // SPDX-License-Identifier: Apache-2.0 // -#include "ngraph/runtime/reference/experimental_detectron_proposal_single_image.hpp" +#include "openvino/reference/experimental_detectron_proposal_single_image.hpp" #include #include @@ -11,8 +11,8 @@ #include #include "ngraph/op/experimental_detectron_generate_proposals.hpp" -#include "ngraph/runtime/reference/proposal.hpp" #include "ngraph/shape.hpp" +#include "openvino/reference/proposal.hpp" namespace { using ProposalBox = ngraph::runtime::reference::details::ProposalBox; diff --git a/src/core/reference/src/runtime/reference/experimental_detectron_roi_feature_extractor.cpp b/src/core/reference/src/op/experimental_detectron_roi_feature_extractor.cpp similarity index 99% rename from src/core/reference/src/runtime/reference/experimental_detectron_roi_feature_extractor.cpp rename to src/core/reference/src/op/experimental_detectron_roi_feature_extractor.cpp index 02ca6f78f07..c9314d8920a 100644 --- a/src/core/reference/src/runtime/reference/experimental_detectron_roi_feature_extractor.cpp +++ b/src/core/reference/src/op/experimental_detectron_roi_feature_extractor.cpp @@ -2,7 +2,7 @@ // SPDX-License-Identifier: Apache-2.0 // -#include "ngraph/runtime/reference/experimental_detectron_roi_feature_extractor.hpp" +#include "openvino/reference/experimental_detectron_roi_feature_extractor.hpp" #include #include diff --git a/src/core/reference/src/runtime/reference/fft.cpp b/src/core/reference/src/op/fft.cpp similarity index 99% rename from src/core/reference/src/runtime/reference/fft.cpp rename to src/core/reference/src/op/fft.cpp index f1d9688fd4d..bb9313ca350 100644 --- a/src/core/reference/src/runtime/reference/fft.cpp +++ b/src/core/reference/src/op/fft.cpp @@ -14,7 +14,7 @@ // limitations under the License. //***************************************************************************** -#include "ngraph/runtime/reference/fft.hpp" +#include "openvino/reference/fft.hpp" #include #include @@ -22,11 +22,11 @@ #include #include #include -#include #include #include #include "ngraph/shape.hpp" +#include "openvino/reference/utils/fft_common.hpp" using namespace ngraph; using namespace ngraph::runtime::reference; diff --git a/src/core/reference/src/runtime/reference/function.cpp b/src/core/reference/src/op/function.cpp similarity index 90% rename from src/core/reference/src/runtime/reference/function.cpp rename to src/core/reference/src/op/function.cpp index f0196e38ae7..e500f70ff59 100644 --- a/src/core/reference/src/runtime/reference/function.cpp +++ b/src/core/reference/src/op/function.cpp @@ -2,15 +2,15 @@ // SPDX-License-Identifier: Apache-2.0 // -#include "ngraph/runtime/reference/function.hpp" +#include "openvino/reference/function.hpp" #include #include "ngraph/opsets/opset5.hpp" #include "ngraph/runtime/host_tensor.hpp" -#include "ngraph/runtime/reference/concat.hpp" #include "ngraph/runtime/tensor.hpp" #include "openvino/core/deprecated.hpp" +#include "openvino/reference/concat.hpp" namespace ngraph { namespace runtime { diff --git a/src/core/reference/src/runtime/reference/gather_tree.cpp b/src/core/reference/src/op/gather_tree.cpp similarity index 98% rename from src/core/reference/src/runtime/reference/gather_tree.cpp rename to src/core/reference/src/op/gather_tree.cpp index 00c53995ea7..789e56b1fd8 100644 --- a/src/core/reference/src/runtime/reference/gather_tree.cpp +++ b/src/core/reference/src/op/gather_tree.cpp @@ -2,7 +2,7 @@ // SPDX-License-Identifier: Apache-2.0 // -#include "ngraph/runtime/reference/gather_tree.hpp" +#include "openvino/reference/gather_tree.hpp" #include diff --git a/src/core/reference/src/runtime/reference/generate_proposal.cpp b/src/core/reference/src/op/generate_proposal.cpp similarity index 99% rename from src/core/reference/src/runtime/reference/generate_proposal.cpp rename to src/core/reference/src/op/generate_proposal.cpp index 3154d14d0eb..8a27c947bdd 100644 --- a/src/core/reference/src/runtime/reference/generate_proposal.cpp +++ b/src/core/reference/src/op/generate_proposal.cpp @@ -2,7 +2,7 @@ // SPDX-License-Identifier: Apache-2.0 // -#include "ngraph/runtime/reference/generate_proposal.hpp" +#include "openvino/reference/generate_proposal.hpp" #include #include diff --git a/src/core/reference/src/runtime/reference/group_convolution.cpp b/src/core/reference/src/op/group_convolution.cpp similarity index 97% rename from src/core/reference/src/runtime/reference/group_convolution.cpp rename to src/core/reference/src/op/group_convolution.cpp index 1b8624220e4..2a0f46829ef 100644 --- a/src/core/reference/src/runtime/reference/group_convolution.cpp +++ b/src/core/reference/src/op/group_convolution.cpp @@ -2,7 +2,7 @@ // SPDX-License-Identifier: Apache-2.0 // -#include "ngraph/runtime/reference/group_convolution.hpp" +#include "openvino/reference/group_convolution.hpp" namespace ngraph { namespace runtime { diff --git a/src/core/reference/src/runtime/reference/group_convolution_backprop_data.cpp b/src/core/reference/src/op/group_convolution_backprop_data.cpp similarity index 97% rename from src/core/reference/src/runtime/reference/group_convolution_backprop_data.cpp rename to src/core/reference/src/op/group_convolution_backprop_data.cpp index 627ef1b23e8..9892cfe2ca9 100644 --- a/src/core/reference/src/runtime/reference/group_convolution_backprop_data.cpp +++ b/src/core/reference/src/op/group_convolution_backprop_data.cpp @@ -2,9 +2,9 @@ // SPDX-License-Identifier: Apache-2.0 // -#include "ngraph/runtime/reference/group_convolution_backprop_data.hpp" +#include "openvino/reference/group_convolution_backprop_data.hpp" -#include "ngraph/runtime/reference/group_convolution.hpp" +#include "openvino/reference/group_convolution.hpp" namespace ngraph { namespace runtime { diff --git a/src/core/reference/src/runtime/reference/if.cpp b/src/core/reference/src/op/if.cpp similarity index 95% rename from src/core/reference/src/runtime/reference/if.cpp rename to src/core/reference/src/op/if.cpp index ea2ef28aaa5..4c627631396 100644 --- a/src/core/reference/src/runtime/reference/if.cpp +++ b/src/core/reference/src/op/if.cpp @@ -2,10 +2,10 @@ // SPDX-License-Identifier: Apache-2.0 // -#include "ngraph/runtime/reference/if.hpp" +#include "openvino/reference/if.hpp" #include "ngraph/op/if.hpp" -#include "ngraph/runtime/reference/function.hpp" +#include "openvino/reference/function.hpp" OPENVINO_SUPPRESS_DEPRECATED_START namespace ngraph { diff --git a/src/core/reference/src/runtime/reference/interpolate.cpp b/src/core/reference/src/op/interpolate.cpp similarity index 99% rename from src/core/reference/src/runtime/reference/interpolate.cpp rename to src/core/reference/src/op/interpolate.cpp index 5f45c888148..1e6a8dd0666 100644 --- a/src/core/reference/src/runtime/reference/interpolate.cpp +++ b/src/core/reference/src/op/interpolate.cpp @@ -2,7 +2,7 @@ // SPDX-License-Identifier: Apache-2.0 // -#include "ngraph/runtime/reference/interpolate.hpp" +#include "openvino/reference/interpolate.hpp" #include diff --git a/src/core/reference/src/runtime/reference/irdft.cpp b/src/core/reference/src/op/irdft.cpp similarity index 98% rename from src/core/reference/src/runtime/reference/irdft.cpp rename to src/core/reference/src/op/irdft.cpp index a9b9ff1b46f..7fe1ab71d03 100644 --- a/src/core/reference/src/runtime/reference/irdft.cpp +++ b/src/core/reference/src/op/irdft.cpp @@ -2,17 +2,17 @@ // SPDX-License-Identifier: Apache-2.0 // -#include "ngraph/runtime/reference/irdft.hpp" +#include "openvino/reference/irdft.hpp" #include #include #include #include -#include #include -#include "ngraph/runtime/reference/fft.hpp" #include "ngraph/shape.hpp" +#include "openvino/reference/fft.hpp" +#include "openvino/reference/utils/fft_common.hpp" using namespace ngraph; using namespace ngraph::runtime::reference; diff --git a/src/core/reference/src/runtime/reference/jit_generator.cpp b/src/core/reference/src/op/jit_generator.cpp similarity index 100% rename from src/core/reference/src/runtime/reference/jit_generator.cpp rename to src/core/reference/src/op/jit_generator.cpp diff --git a/src/core/reference/src/runtime/reference/jit_generator.hpp b/src/core/reference/src/op/jit_generator.hpp similarity index 100% rename from src/core/reference/src/runtime/reference/jit_generator.hpp rename to src/core/reference/src/op/jit_generator.hpp diff --git a/src/core/reference/src/runtime/reference/loop.cpp b/src/core/reference/src/op/loop.cpp similarity index 98% rename from src/core/reference/src/runtime/reference/loop.cpp rename to src/core/reference/src/op/loop.cpp index e2a6f4ee96b..3f7aaf5b840 100644 --- a/src/core/reference/src/runtime/reference/loop.cpp +++ b/src/core/reference/src/op/loop.cpp @@ -2,11 +2,11 @@ // SPDX-License-Identifier: Apache-2.0 // -#include "ngraph/runtime/reference/loop.hpp" +#include "openvino/reference/loop.hpp" -#include "ngraph/runtime/reference/concat.hpp" -#include "ngraph/runtime/reference/function.hpp" -#include "ngraph/runtime/reference/split.hpp" +#include "openvino/reference/concat.hpp" +#include "openvino/reference/function.hpp" +#include "openvino/reference/split.hpp" OPENVINO_SUPPRESS_DEPRECATED_START namespace ngraph { diff --git a/src/core/reference/src/runtime/reference/matmul.cpp b/src/core/reference/src/op/matmul.cpp similarity index 93% rename from src/core/reference/src/runtime/reference/matmul.cpp rename to src/core/reference/src/op/matmul.cpp index 54d3d4c7e5e..0ae5046f5fa 100644 --- a/src/core/reference/src/runtime/reference/matmul.cpp +++ b/src/core/reference/src/op/matmul.cpp @@ -2,7 +2,7 @@ // SPDX-License-Identifier: Apache-2.0 // -#include "ngraph/runtime/reference/matmul.hpp" +#include "openvino/reference/matmul.hpp" #include #include diff --git a/src/core/reference/src/runtime/reference/matrix_nms.cpp b/src/core/reference/src/op/matrix_nms.cpp similarity index 99% rename from src/core/reference/src/runtime/reference/matrix_nms.cpp rename to src/core/reference/src/op/matrix_nms.cpp index 1dd17a4f78e..5e0b51c9541 100644 --- a/src/core/reference/src/runtime/reference/matrix_nms.cpp +++ b/src/core/reference/src/op/matrix_nms.cpp @@ -10,9 +10,9 @@ #include #include -#include "ngraph/runtime/reference/matrix_nms.hpp" -#include "ngraph/runtime/reference/utils/nms_common.hpp" #include "ngraph/shape.hpp" +#include "openvino/reference/matrix_nms.hpp" +#include "openvino/reference/utils/nms_common.hpp" using namespace ngraph; using namespace ngraph::runtime::reference; diff --git a/src/core/reference/src/runtime/reference/multiclass_nms.cpp b/src/core/reference/src/op/multiclass_nms.cpp similarity index 99% rename from src/core/reference/src/runtime/reference/multiclass_nms.cpp rename to src/core/reference/src/op/multiclass_nms.cpp index a8ba8369b52..e5e18073a99 100644 --- a/src/core/reference/src/runtime/reference/multiclass_nms.cpp +++ b/src/core/reference/src/op/multiclass_nms.cpp @@ -10,9 +10,9 @@ #include #include -#include "ngraph/runtime/reference/multiclass_nms.hpp" -#include "ngraph/runtime/reference/utils/nms_common.hpp" #include "ngraph/shape.hpp" +#include "openvino/reference/multiclass_nms.hpp" +#include "openvino/reference/utils/nms_common.hpp" namespace ngraph { namespace runtime { diff --git a/src/core/reference/src/runtime/reference/non_max_suppression.cpp b/src/core/reference/src/op/non_max_suppression.cpp similarity index 99% rename from src/core/reference/src/runtime/reference/non_max_suppression.cpp rename to src/core/reference/src/op/non_max_suppression.cpp index 0881bb013f8..e85d6e2d47d 100644 --- a/src/core/reference/src/runtime/reference/non_max_suppression.cpp +++ b/src/core/reference/src/op/non_max_suppression.cpp @@ -9,8 +9,8 @@ #include #include -#include "ngraph/runtime/reference/non_max_suppression.hpp" #include "ngraph/shape.hpp" +#include "openvino/reference/non_max_suppression.hpp" using namespace ngraph; using namespace ngraph::runtime::reference; diff --git a/src/core/reference/src/runtime/reference/pad.cpp b/src/core/reference/src/op/pad.cpp similarity index 99% rename from src/core/reference/src/runtime/reference/pad.cpp rename to src/core/reference/src/op/pad.cpp index 872a7bc26ae..b6d74d6a32a 100644 --- a/src/core/reference/src/runtime/reference/pad.cpp +++ b/src/core/reference/src/op/pad.cpp @@ -2,7 +2,7 @@ // SPDX-License-Identifier: Apache-2.0 // -#include "ngraph/runtime/reference/pad.hpp" +#include "openvino/reference/pad.hpp" #include diff --git a/src/core/reference/src/runtime/reference/random_uniform.cpp b/src/core/reference/src/op/random_uniform.cpp similarity index 99% rename from src/core/reference/src/runtime/reference/random_uniform.cpp rename to src/core/reference/src/op/random_uniform.cpp index f22aa3e473d..dd9b556e76d 100644 --- a/src/core/reference/src/runtime/reference/random_uniform.cpp +++ b/src/core/reference/src/op/random_uniform.cpp @@ -2,7 +2,7 @@ // SPDX-License-Identifier: Apache-2.0 // -#include "ngraph/runtime/reference/random_uniform.hpp" +#include "openvino/reference/random_uniform.hpp" #include diff --git a/src/core/reference/src/runtime/reference/rdft.cpp b/src/core/reference/src/op/rdft.cpp similarity index 95% rename from src/core/reference/src/runtime/reference/rdft.cpp rename to src/core/reference/src/op/rdft.cpp index 2805b83ccca..52983e1fd48 100644 --- a/src/core/reference/src/runtime/reference/rdft.cpp +++ b/src/core/reference/src/op/rdft.cpp @@ -14,14 +14,14 @@ // limitations under the License. //***************************************************************************** -#include "ngraph/runtime/reference/rdft.hpp" +#include "openvino/reference/rdft.hpp" #include -#include #include -#include "ngraph/runtime/reference/fft.hpp" #include "ngraph/shape.hpp" +#include "openvino/reference/fft.hpp" +#include "openvino/reference/utils/fft_common.hpp" using namespace ngraph; using namespace ngraph::runtime::reference; @@ -86,4 +86,4 @@ void rdft(const std::vector& input_data, } } // namespace reference } // namespace runtime -} // namespace ngraph \ No newline at end of file +} // namespace ngraph diff --git a/src/core/reference/src/runtime/reference/reorg_yolo.cpp b/src/core/reference/src/op/reorg_yolo.cpp similarity index 97% rename from src/core/reference/src/runtime/reference/reorg_yolo.cpp rename to src/core/reference/src/op/reorg_yolo.cpp index 2a8d6097f88..1cba3a2658d 100644 --- a/src/core/reference/src/runtime/reference/reorg_yolo.cpp +++ b/src/core/reference/src/op/reorg_yolo.cpp @@ -2,7 +2,7 @@ // SPDX-License-Identifier: Apache-2.0 // -#include "ngraph/runtime/reference/reorg_yolo.hpp" +#include "openvino/reference/reorg_yolo.hpp" #include diff --git a/src/core/reference/src/runtime/reference/reshape.cpp b/src/core/reference/src/op/reshape.cpp similarity index 97% rename from src/core/reference/src/runtime/reference/reshape.cpp rename to src/core/reference/src/op/reshape.cpp index 7f92fdf4f7c..e07485bf903 100644 --- a/src/core/reference/src/runtime/reference/reshape.cpp +++ b/src/core/reference/src/op/reshape.cpp @@ -2,7 +2,7 @@ // SPDX-License-Identifier: Apache-2.0 // -#include "ngraph/runtime/reference/reshape.hpp" +#include "openvino/reference/reshape.hpp" #include #include diff --git a/src/core/reference/src/runtime/reference/reverse.cpp b/src/core/reference/src/op/reverse.cpp similarity index 97% rename from src/core/reference/src/runtime/reference/reverse.cpp rename to src/core/reference/src/op/reverse.cpp index 44a738da01e..78e26cbc714 100644 --- a/src/core/reference/src/runtime/reference/reverse.cpp +++ b/src/core/reference/src/op/reverse.cpp @@ -2,7 +2,7 @@ // SPDX-License-Identifier: Apache-2.0 // -#include "ngraph/runtime/reference/reverse.hpp" +#include "openvino/reference/reverse.hpp" #include #include diff --git a/src/core/reference/src/runtime/reference/shuffle_channels.cpp b/src/core/reference/src/op/shuffle_channels.cpp similarity index 97% rename from src/core/reference/src/runtime/reference/shuffle_channels.cpp rename to src/core/reference/src/op/shuffle_channels.cpp index ac8bc86f8f4..685d7ddecc1 100644 --- a/src/core/reference/src/runtime/reference/shuffle_channels.cpp +++ b/src/core/reference/src/op/shuffle_channels.cpp @@ -2,7 +2,7 @@ // SPDX-License-Identifier: Apache-2.0 // -#include "ngraph/runtime/reference/shuffle_channels.hpp" +#include "openvino/reference/shuffle_channels.hpp" #include "ngraph/runtime/opt_kernel/reshape.hpp" diff --git a/src/core/reference/src/runtime/reference/slice.cpp b/src/core/reference/src/op/slice.cpp similarity index 98% rename from src/core/reference/src/runtime/reference/slice.cpp rename to src/core/reference/src/op/slice.cpp index 393514b3167..faa0d3ba5cf 100644 --- a/src/core/reference/src/runtime/reference/slice.cpp +++ b/src/core/reference/src/op/slice.cpp @@ -2,7 +2,7 @@ // SPDX-License-Identifier: Apache-2.0 // -#include "ngraph/runtime/reference/slice.hpp" +#include "openvino/reference/slice.hpp" #include diff --git a/src/core/reference/src/runtime/reference/space_to_depth.cpp b/src/core/reference/src/op/space_to_depth.cpp similarity index 98% rename from src/core/reference/src/runtime/reference/space_to_depth.cpp rename to src/core/reference/src/op/space_to_depth.cpp index f71b259ef86..d63627b081f 100644 --- a/src/core/reference/src/runtime/reference/space_to_depth.cpp +++ b/src/core/reference/src/op/space_to_depth.cpp @@ -2,7 +2,7 @@ // SPDX-License-Identifier: Apache-2.0 // -#include "ngraph/runtime/reference/space_to_depth.hpp" +#include "openvino/reference/space_to_depth.hpp" #include diff --git a/src/core/reference/src/runtime/reference/split.cpp b/src/core/reference/src/op/split.cpp similarity index 96% rename from src/core/reference/src/runtime/reference/split.cpp rename to src/core/reference/src/op/split.cpp index 5ea69894972..e8095c258c4 100644 --- a/src/core/reference/src/runtime/reference/split.cpp +++ b/src/core/reference/src/op/split.cpp @@ -2,7 +2,7 @@ // SPDX-License-Identifier: Apache-2.0 // -#include "ngraph/runtime/reference/split.hpp" +#include "openvino/reference/split.hpp" #include diff --git a/src/core/reference/src/runtime/reference/strided_slice.cpp b/src/core/reference/src/op/strided_slice.cpp similarity index 97% rename from src/core/reference/src/runtime/reference/strided_slice.cpp rename to src/core/reference/src/op/strided_slice.cpp index fb97d98f42b..5d16f130188 100644 --- a/src/core/reference/src/runtime/reference/strided_slice.cpp +++ b/src/core/reference/src/op/strided_slice.cpp @@ -2,7 +2,7 @@ // SPDX-License-Identifier: Apache-2.0 // -#include "ngraph/runtime/reference/strided_slice.hpp" +#include "openvino/reference/strided_slice.hpp" #include diff --git a/src/core/reference/src/runtime/reference/tensor_iterator.cpp b/src/core/reference/src/op/tensor_iterator.cpp similarity index 96% rename from src/core/reference/src/runtime/reference/tensor_iterator.cpp rename to src/core/reference/src/op/tensor_iterator.cpp index 523f2572978..c19fc688a5b 100644 --- a/src/core/reference/src/runtime/reference/tensor_iterator.cpp +++ b/src/core/reference/src/op/tensor_iterator.cpp @@ -2,11 +2,11 @@ // SPDX-License-Identifier: Apache-2.0 // -#include "ngraph/runtime/reference/tensor_iterator.hpp" +#include "openvino/reference/tensor_iterator.hpp" -#include "ngraph/runtime/reference/concat.hpp" -#include "ngraph/runtime/reference/function.hpp" -#include "ngraph/runtime/reference/split.hpp" +#include "openvino/reference/concat.hpp" +#include "openvino/reference/function.hpp" +#include "openvino/reference/split.hpp" OPENVINO_SUPPRESS_DEPRECATED_START namespace ngraph { diff --git a/src/core/reference/src/runtime/reference/tile.cpp b/src/core/reference/src/op/tile.cpp similarity index 98% rename from src/core/reference/src/runtime/reference/tile.cpp rename to src/core/reference/src/op/tile.cpp index a2d0c042299..bff01bb0dc3 100644 --- a/src/core/reference/src/runtime/reference/tile.cpp +++ b/src/core/reference/src/op/tile.cpp @@ -2,7 +2,7 @@ // SPDX-License-Identifier: Apache-2.0 // -#include "ngraph/runtime/reference/tile.hpp" +#include "openvino/reference/tile.hpp" #include #include diff --git a/src/core/reference/src/runtime/reference/transpose.cpp b/src/core/reference/src/op/transpose.cpp similarity index 94% rename from src/core/reference/src/runtime/reference/transpose.cpp rename to src/core/reference/src/op/transpose.cpp index c2cc10f8279..b3de7c9f116 100644 --- a/src/core/reference/src/runtime/reference/transpose.cpp +++ b/src/core/reference/src/op/transpose.cpp @@ -2,7 +2,7 @@ // SPDX-License-Identifier: Apache-2.0 // -#include "ngraph/runtime/reference/transpose.hpp" +#include "openvino/reference/transpose.hpp" #include #include diff --git a/src/core/reference/src/runtime/reference/utils/fft_common.cpp b/src/core/reference/src/op/utils/fft_common.cpp similarity index 97% rename from src/core/reference/src/runtime/reference/utils/fft_common.cpp rename to src/core/reference/src/op/utils/fft_common.cpp index 95014b92073..62a0bea81da 100644 --- a/src/core/reference/src/runtime/reference/utils/fft_common.cpp +++ b/src/core/reference/src/op/utils/fft_common.cpp @@ -2,7 +2,7 @@ // SPDX-License-Identifier: Apache-2.0 // -#include "ngraph/runtime/reference/utils/fft_common.hpp" +#include "openvino/reference/utils/fft_common.hpp" #include #include diff --git a/src/core/reference/src/runtime/reference/utils/nms_common.cpp b/src/core/reference/src/op/utils/nms_common.cpp similarity index 97% rename from src/core/reference/src/runtime/reference/utils/nms_common.cpp rename to src/core/reference/src/op/utils/nms_common.cpp index a714d8f697f..6db5f20878f 100644 --- a/src/core/reference/src/runtime/reference/utils/nms_common.cpp +++ b/src/core/reference/src/op/utils/nms_common.cpp @@ -2,7 +2,7 @@ // SPDX-License-Identifier: Apache-2.0 // -#include "ngraph/runtime/reference/utils/nms_common.hpp" +#include "openvino/reference/utils/nms_common.hpp" #include #include diff --git a/src/core/reference/src/runtime/reference/utils/round_guard.cpp b/src/core/reference/src/op/utils/round_guard.cpp similarity index 100% rename from src/core/reference/src/runtime/reference/utils/round_guard.cpp rename to src/core/reference/src/op/utils/round_guard.cpp diff --git a/src/core/reference/src/runtime/opt_kernel/reshape.cpp b/src/core/reference/src/runtime/opt_kernel/reshape.cpp index a1e4c5125c1..1305ba0abd9 100644 --- a/src/core/reference/src/runtime/opt_kernel/reshape.cpp +++ b/src/core/reference/src/runtime/opt_kernel/reshape.cpp @@ -8,8 +8,8 @@ #include #include "ngraph/check.hpp" -#include "ngraph/runtime/reference/reshape.hpp" #include "openvino/core/parallel.hpp" +#include "openvino/reference/reshape.hpp" using namespace ngraph; diff --git a/src/core/src/op/abs.cpp b/src/core/src/op/abs.cpp index 5a6791bcecf..bc172845c44 100644 --- a/src/core/src/op/abs.cpp +++ b/src/core/src/op/abs.cpp @@ -8,7 +8,7 @@ #include "ngraph/op/multiply.hpp" #include "ngraph/op/sign.hpp" #include "ngraph/runtime/host_tensor.hpp" -#include "ngraph/runtime/reference/abs.hpp" +#include "openvino/reference/abs.hpp" ov::op::v0::Abs::Abs(const Output& arg) : UnaryElementwiseArithmetic(arg) { constructor_validate_and_infer_types(); diff --git a/src/core/src/op/acos.cpp b/src/core/src/op/acos.cpp index d946d9a0286..6d13614dad9 100644 --- a/src/core/src/op/acos.cpp +++ b/src/core/src/op/acos.cpp @@ -16,7 +16,7 @@ #include "ngraph/op/sqrt.hpp" #include "ngraph/op/subtract.hpp" #include "ngraph/runtime/host_tensor.hpp" -#include "ngraph/runtime/reference/acos.hpp" +#include "openvino/reference/acos.hpp" ov::op::v0::Acos::Acos(const Output& arg) : UnaryElementwiseArithmetic(arg) { constructor_validate_and_infer_types(); diff --git a/src/core/src/op/acosh.cpp b/src/core/src/op/acosh.cpp index 70dabc6a93d..f1de18760bb 100644 --- a/src/core/src/op/acosh.cpp +++ b/src/core/src/op/acosh.cpp @@ -9,8 +9,8 @@ #include "itt.hpp" #include "ngraph/runtime/host_tensor.hpp" -#include "ngraph/runtime/reference/acosh.hpp" #include "ngraph/type/element_type.hpp" +#include "openvino/reference/acosh.hpp" ov::op::v3::Acosh::Acosh(const Output& arg) : UnaryElementwiseArithmetic(arg) { constructor_validate_and_infer_types(); diff --git a/src/core/src/op/add.cpp b/src/core/src/op/add.cpp index 429b782ee07..cc4d2c99ae2 100644 --- a/src/core/src/op/add.cpp +++ b/src/core/src/op/add.cpp @@ -6,7 +6,7 @@ #include "itt.hpp" #include "ngraph/runtime/host_tensor.hpp" -#include "ngraph/runtime/reference/add.hpp" +#include "openvino/reference/add.hpp" using namespace std; using namespace ngraph; diff --git a/src/core/src/op/asin.cpp b/src/core/src/op/asin.cpp index 1134c49d556..e8bab9ec336 100644 --- a/src/core/src/op/asin.cpp +++ b/src/core/src/op/asin.cpp @@ -16,8 +16,8 @@ #include "ngraph/op/sqrt.hpp" #include "ngraph/op/subtract.hpp" #include "ngraph/runtime/host_tensor.hpp" -#include "ngraph/runtime/reference/asin.hpp" #include "ngraph/shape.hpp" +#include "openvino/reference/asin.hpp" using namespace std; using namespace ngraph; diff --git a/src/core/src/op/asinh.cpp b/src/core/src/op/asinh.cpp index 16374444c58..65d809c5744 100644 --- a/src/core/src/op/asinh.cpp +++ b/src/core/src/op/asinh.cpp @@ -10,8 +10,8 @@ #include "itt.hpp" #include "ngraph/op/util/elementwise_args.hpp" #include "ngraph/runtime/host_tensor.hpp" -#include "ngraph/runtime/reference/asinh.hpp" #include "ngraph/type/element_type.hpp" +#include "openvino/reference/asinh.hpp" using namespace std; using namespace ngraph; diff --git a/src/core/src/op/atan.cpp b/src/core/src/op/atan.cpp index e101cd657a0..0e9a8c304e1 100644 --- a/src/core/src/op/atan.cpp +++ b/src/core/src/op/atan.cpp @@ -14,8 +14,8 @@ #include "ngraph/op/divide.hpp" #include "ngraph/op/multiply.hpp" #include "ngraph/runtime/host_tensor.hpp" -#include "ngraph/runtime/reference/atan.hpp" #include "ngraph/shape.hpp" +#include "openvino/reference/atan.hpp" using namespace std; using namespace ngraph; diff --git a/src/core/src/op/atanh.cpp b/src/core/src/op/atanh.cpp index 59429a1b891..f585356b0b2 100644 --- a/src/core/src/op/atanh.cpp +++ b/src/core/src/op/atanh.cpp @@ -9,8 +9,8 @@ #include "itt.hpp" #include "ngraph/runtime/host_tensor.hpp" -#include "ngraph/runtime/reference/atanh.hpp" #include "ngraph/type/element_type.hpp" +#include "openvino/reference/atanh.hpp" using namespace std; using namespace ngraph; diff --git a/src/core/src/op/batch_to_space.cpp b/src/core/src/op/batch_to_space.cpp index ff1dd41f206..8748022406d 100644 --- a/src/core/src/op/batch_to_space.cpp +++ b/src/core/src/op/batch_to_space.cpp @@ -17,10 +17,10 @@ #include "ngraph/node.hpp" #include "ngraph/opsets/opset3.hpp" #include "ngraph/runtime/opt_kernel/reshape.hpp" -#include "ngraph/runtime/reference/strided_slice.hpp" #include "ngraph/shape.hpp" #include "ngraph/slice_plan.hpp" #include "openvino/op/util/precision_sensitive_attribute.hpp" +#include "openvino/reference/strided_slice.hpp" using namespace std; using namespace ngraph; diff --git a/src/core/src/op/broadcast.cpp b/src/core/src/op/broadcast.cpp index 2d829cbfb91..8113b728ba2 100644 --- a/src/core/src/op/broadcast.cpp +++ b/src/core/src/op/broadcast.cpp @@ -13,7 +13,7 @@ #include "ngraph/op/constant.hpp" #include "ngraph/partial_shape.hpp" #include "ngraph/runtime/host_tensor.hpp" -#include "ngraph/runtime/reference/broadcast.hpp" +#include "openvino/reference/broadcast.hpp" using namespace std; using namespace ngraph; diff --git a/src/core/src/op/ceiling.cpp b/src/core/src/op/ceiling.cpp index 102c7a832fd..699664a8f24 100644 --- a/src/core/src/op/ceiling.cpp +++ b/src/core/src/op/ceiling.cpp @@ -7,8 +7,8 @@ #include "itt.hpp" #include "ngraph/op/util/eval_copy.hpp" #include "ngraph/runtime/host_tensor.hpp" -#include "ngraph/runtime/reference/ceiling.hpp" -#include "ngraph/runtime/reference/copy.hpp" +#include "openvino/reference/ceiling.hpp" +#include "openvino/reference/copy.hpp" using namespace std; using namespace ngraph; diff --git a/src/core/src/op/clamp.cpp b/src/core/src/op/clamp.cpp index 148325f4391..a81fd279bd7 100644 --- a/src/core/src/op/clamp.cpp +++ b/src/core/src/op/clamp.cpp @@ -8,8 +8,8 @@ #include "bound_evaluate.hpp" #include "itt.hpp" -#include "ngraph/runtime/reference/clamp.hpp" #include "ngraph/util.hpp" +#include "openvino/reference/clamp.hpp" using namespace std; using namespace ngraph; diff --git a/src/core/src/op/concat.cpp b/src/core/src/op/concat.cpp index 0dfb3f4318d..1bbe4602115 100644 --- a/src/core/src/op/concat.cpp +++ b/src/core/src/op/concat.cpp @@ -10,8 +10,8 @@ #include "concat_shape_inference.hpp" #include "itt.hpp" #include "ngraph/attribute_visitor.hpp" -#include "ngraph/runtime/reference/concat.hpp" #include "openvino/core/dimension_tracker.hpp" +#include "openvino/reference/concat.hpp" #include "validation_util.hpp" using namespace std; diff --git a/src/core/src/op/convert.cpp b/src/core/src/op/convert.cpp index 0beb23abc77..6e465279bbb 100644 --- a/src/core/src/op/convert.cpp +++ b/src/core/src/op/convert.cpp @@ -10,7 +10,7 @@ #include "itt.hpp" #include "ngraph/op/equal.hpp" #include "ngraph/op/select.hpp" -#include "ngraph/runtime/reference/convert.hpp" +#include "openvino/reference/convert.hpp" using namespace std; using namespace ngraph; diff --git a/src/core/src/op/cos.cpp b/src/core/src/op/cos.cpp index 46568adb00f..119bd15cefd 100644 --- a/src/core/src/op/cos.cpp +++ b/src/core/src/op/cos.cpp @@ -6,8 +6,8 @@ #include "itt.hpp" #include "ngraph/runtime/host_tensor.hpp" -#include "ngraph/runtime/reference/cos.hpp" #include "ngraph/validation_util.hpp" +#include "openvino/reference/cos.hpp" using namespace std; using namespace ngraph; diff --git a/src/core/src/op/cosh.cpp b/src/core/src/op/cosh.cpp index 2b5a9c6c9e3..6af6b7cb13f 100644 --- a/src/core/src/op/cosh.cpp +++ b/src/core/src/op/cosh.cpp @@ -6,8 +6,8 @@ #include "itt.hpp" #include "ngraph/runtime/host_tensor.hpp" -#include "ngraph/runtime/reference/cosh.hpp" #include "ngraph/validation_util.hpp" +#include "openvino/reference/cosh.hpp" using namespace std; using namespace ngraph; diff --git a/src/core/src/op/cum_sum.cpp b/src/core/src/op/cum_sum.cpp index a86d904e06a..d18765e7cb9 100644 --- a/src/core/src/op/cum_sum.cpp +++ b/src/core/src/op/cum_sum.cpp @@ -5,9 +5,9 @@ #include "openvino/op/cum_sum.hpp" #include "itt.hpp" -#include "ngraph/runtime/reference/cum_sum.hpp" #include "openvino/core/attribute_visitor.hpp" #include "openvino/op/constant.hpp" +#include "openvino/reference/cum_sum.hpp" using namespace std; diff --git a/src/core/src/op/depth_to_space.cpp b/src/core/src/op/depth_to_space.cpp index 1651d751be3..9286679cea7 100644 --- a/src/core/src/op/depth_to_space.cpp +++ b/src/core/src/op/depth_to_space.cpp @@ -12,9 +12,9 @@ #include #include "itt.hpp" -#include "ngraph/runtime/reference/depth_to_space.hpp" #include "ngraph/shape.hpp" #include "openvino/core/validation_util.hpp" +#include "openvino/reference/depth_to_space.hpp" using namespace ngraph; diff --git a/src/core/src/op/divide.cpp b/src/core/src/op/divide.cpp index 8bdc07d34e0..f7d1c8a569c 100644 --- a/src/core/src/op/divide.cpp +++ b/src/core/src/op/divide.cpp @@ -15,7 +15,7 @@ #include "ngraph/op/or.hpp" #include "ngraph/op/select.hpp" #include "ngraph/runtime/host_tensor.hpp" -#include "ngraph/runtime/reference/divide.hpp" +#include "openvino/reference/divide.hpp" #include "shape_util.hpp" using namespace std; diff --git a/src/core/src/op/equal.cpp b/src/core/src/op/equal.cpp index d9b8b2a74a2..160fa974582 100644 --- a/src/core/src/op/equal.cpp +++ b/src/core/src/op/equal.cpp @@ -9,8 +9,8 @@ #include "ngraph/op/constant.hpp" #include "ngraph/op/less_eq.hpp" #include "ngraph/runtime/host_tensor.hpp" -#include "ngraph/runtime/reference/equal.hpp" #include "openvino/op/ops.hpp" +#include "openvino/reference/equal.hpp" using namespace std; using namespace ngraph; diff --git a/src/core/src/op/erf.cpp b/src/core/src/op/erf.cpp index 5530d691673..7b6e73798ac 100644 --- a/src/core/src/op/erf.cpp +++ b/src/core/src/op/erf.cpp @@ -7,8 +7,8 @@ #include "itt.hpp" #include "ngraph/log.hpp" #include "ngraph/runtime/host_tensor.hpp" -#include "ngraph/runtime/reference/erf.hpp" #include "ngraph/util.hpp" +#include "openvino/reference/erf.hpp" using namespace std; using namespace ngraph; diff --git a/src/core/src/op/exp.cpp b/src/core/src/op/exp.cpp index af29d147659..8726fe03c76 100644 --- a/src/core/src/op/exp.cpp +++ b/src/core/src/op/exp.cpp @@ -8,7 +8,7 @@ #include "itt.hpp" #include "ngraph/runtime/host_tensor.hpp" -#include "ngraph/runtime/reference/exp.hpp" +#include "openvino/reference/exp.hpp" using namespace std; using namespace ngraph; diff --git a/src/core/src/op/eye.cpp b/src/core/src/op/eye.cpp index 3e58ece0892..e37c0422ae7 100644 --- a/src/core/src/op/eye.cpp +++ b/src/core/src/op/eye.cpp @@ -6,8 +6,8 @@ #include "eye_shape_inference.hpp" #include "itt.hpp" -#include "ngraph/runtime/reference/eye.hpp" #include "ngraph/validation_util.hpp" +#include "openvino/reference/eye.hpp" OPENVINO_SUPPRESS_DEPRECATED_START namespace ov { diff --git a/src/core/src/op/fake_quantize.cpp b/src/core/src/op/fake_quantize.cpp index c8ea89d6149..7eb8fa366c2 100644 --- a/src/core/src/op/fake_quantize.cpp +++ b/src/core/src/op/fake_quantize.cpp @@ -11,9 +11,9 @@ #include "ngraph/op/constant.hpp" #include "ngraph/op/convert.hpp" #include "ngraph/op/select.hpp" -#include "ngraph/runtime/reference/fake_quantize.hpp" #include "ngraph/shape.hpp" #include "ngraph/type/element_type.hpp" +#include "openvino/reference/fake_quantize.hpp" using namespace std; using namespace ngraph; diff --git a/src/core/src/op/floor.cpp b/src/core/src/op/floor.cpp index cd97b4376bf..7ca324baed6 100644 --- a/src/core/src/op/floor.cpp +++ b/src/core/src/op/floor.cpp @@ -7,8 +7,8 @@ #include "itt.hpp" #include "ngraph/op/util/eval_copy.hpp" #include "ngraph/runtime/host_tensor.hpp" -#include "ngraph/runtime/reference/copy.hpp" -#include "ngraph/runtime/reference/floor.hpp" +#include "openvino/reference/copy.hpp" +#include "openvino/reference/floor.hpp" using namespace std; using namespace ngraph; diff --git a/src/core/src/op/floor_mod.cpp b/src/core/src/op/floor_mod.cpp index 59988abd0fb..cc89b061349 100644 --- a/src/core/src/op/floor_mod.cpp +++ b/src/core/src/op/floor_mod.cpp @@ -6,7 +6,7 @@ #include "itt.hpp" #include "ngraph/runtime/host_tensor.hpp" -#include "ngraph/runtime/reference/floor_mod.hpp" +#include "openvino/reference/floor_mod.hpp" using namespace std; using namespace ngraph; diff --git a/src/core/src/op/gelu.cpp b/src/core/src/op/gelu.cpp index f1573d16f17..3fdbc7ad581 100644 --- a/src/core/src/op/gelu.cpp +++ b/src/core/src/op/gelu.cpp @@ -8,7 +8,7 @@ #include #include "itt.hpp" -#include "ngraph/runtime/reference/gelu.hpp" +#include "openvino/reference/gelu.hpp" using namespace std; using namespace ngraph; diff --git a/src/core/src/op/greater.cpp b/src/core/src/op/greater.cpp index a75585d63f8..d0a32d6c0b7 100644 --- a/src/core/src/op/greater.cpp +++ b/src/core/src/op/greater.cpp @@ -6,7 +6,7 @@ #include "itt.hpp" #include "ngraph/runtime/host_tensor.hpp" -#include "ngraph/runtime/reference/greater.hpp" +#include "openvino/reference/greater.hpp" using namespace std; using namespace ngraph; diff --git a/src/core/src/op/greater_eq.cpp b/src/core/src/op/greater_eq.cpp index d9e686c9581..2b1bf2b0568 100644 --- a/src/core/src/op/greater_eq.cpp +++ b/src/core/src/op/greater_eq.cpp @@ -6,8 +6,8 @@ #include "itt.hpp" #include "ngraph/runtime/host_tensor.hpp" -#include "ngraph/runtime/reference/greater_eq.hpp" #include "ngraph/validation_util.hpp" +#include "openvino/reference/greater_eq.hpp" using namespace std; using namespace ngraph; diff --git a/src/core/src/op/grid_sample.cpp b/src/core/src/op/grid_sample.cpp index 754e052279e..ab015beac40 100644 --- a/src/core/src/op/grid_sample.cpp +++ b/src/core/src/op/grid_sample.cpp @@ -6,8 +6,8 @@ #include "grid_sample_shape_inference.hpp" #include "itt.hpp" -#include "ngraph/runtime/reference/grid_sample.hpp" #include "ngraph/validation_util.hpp" +#include "openvino/reference/grid_sample.hpp" namespace ov { op::v9::GridSample::GridSample(const Output& data, const Output& grid, const Attributes& attributes) diff --git a/src/core/src/op/hsigmoid.cpp b/src/core/src/op/hsigmoid.cpp index fbf04f54168..353e73760b8 100644 --- a/src/core/src/op/hsigmoid.cpp +++ b/src/core/src/op/hsigmoid.cpp @@ -10,7 +10,7 @@ #include "ngraph/attribute_visitor.hpp" #include "ngraph/op/constant.hpp" #include "ngraph/runtime/host_tensor.hpp" -#include "ngraph/runtime/reference/hsigmoid.hpp" +#include "openvino/reference/hsigmoid.hpp" using namespace std; using namespace ngraph; diff --git a/src/core/src/op/hswish.cpp b/src/core/src/op/hswish.cpp index 8253527cea5..0cc38a36630 100644 --- a/src/core/src/op/hswish.cpp +++ b/src/core/src/op/hswish.cpp @@ -9,7 +9,7 @@ #include "itt.hpp" #include "ngraph/attribute_visitor.hpp" #include "ngraph/runtime/host_tensor.hpp" -#include "ngraph/runtime/reference/hswish.hpp" +#include "openvino/reference/hswish.hpp" using namespace std; using namespace ngraph; diff --git a/src/core/src/op/if.cpp b/src/core/src/op/if.cpp index eaffd049424..a8321d2e7ec 100644 --- a/src/core/src/op/if.cpp +++ b/src/core/src/op/if.cpp @@ -12,8 +12,8 @@ #include "ngraph/factory.hpp" #include "ngraph/graph_util.hpp" #include "ngraph/op/util/multi_subgraph_base.hpp" -#include "ngraph/runtime/reference/if.hpp" #include "ngraph/specialize_function.hpp" +#include "openvino/reference/if.hpp" using namespace std; diff --git a/src/core/src/op/interpolate.cpp b/src/core/src/op/interpolate.cpp index 92e04a2f876..edc1329310b 100644 --- a/src/core/src/op/interpolate.cpp +++ b/src/core/src/op/interpolate.cpp @@ -2,7 +2,7 @@ // SPDX-License-Identifier: Apache-2.0 // -#include "ngraph/runtime/reference/interpolate.hpp" +#include "openvino/reference/interpolate.hpp" #include #include diff --git a/src/core/src/op/less.cpp b/src/core/src/op/less.cpp index f414127cc2a..53a4833311b 100644 --- a/src/core/src/op/less.cpp +++ b/src/core/src/op/less.cpp @@ -6,7 +6,7 @@ #include "itt.hpp" #include "ngraph/runtime/host_tensor.hpp" -#include "ngraph/runtime/reference/less.hpp" +#include "openvino/reference/less.hpp" using namespace std; using namespace ngraph; diff --git a/src/core/src/op/less_eq.cpp b/src/core/src/op/less_eq.cpp index 6dac33a9a2b..7125859cce9 100644 --- a/src/core/src/op/less_eq.cpp +++ b/src/core/src/op/less_eq.cpp @@ -6,7 +6,7 @@ #include "itt.hpp" #include "ngraph/runtime/host_tensor.hpp" -#include "ngraph/runtime/reference/less_eq.hpp" +#include "openvino/reference/less_eq.hpp" using namespace std; using namespace ngraph; diff --git a/src/core/src/op/log.cpp b/src/core/src/op/log.cpp index aa0c9c85e90..77a1ce631a6 100644 --- a/src/core/src/op/log.cpp +++ b/src/core/src/op/log.cpp @@ -7,7 +7,7 @@ #include "itt.hpp" #include "ngraph/op/divide.hpp" #include "ngraph/runtime/host_tensor.hpp" -#include "ngraph/runtime/reference/log.hpp" +#include "openvino/reference/log.hpp" using namespace std; using namespace ngraph; diff --git a/src/core/src/op/logical_and.cpp b/src/core/src/op/logical_and.cpp index 3a5407f8f0f..79c0031d7b1 100644 --- a/src/core/src/op/logical_and.cpp +++ b/src/core/src/op/logical_and.cpp @@ -5,8 +5,8 @@ #include "itt.hpp" #include "ngraph/op/and.hpp" #include "ngraph/runtime/host_tensor.hpp" -#include "ngraph/runtime/reference/and.hpp" #include "ngraph/validation_util.hpp" +#include "openvino/reference/and.hpp" using namespace std; using namespace ngraph; diff --git a/src/core/src/op/logical_not.cpp b/src/core/src/op/logical_not.cpp index 58a4a31167c..135a2e699c1 100644 --- a/src/core/src/op/logical_not.cpp +++ b/src/core/src/op/logical_not.cpp @@ -7,8 +7,8 @@ #include "ngraph/op/op.hpp" #include "ngraph/op/util/elementwise_args.hpp" #include "ngraph/runtime/host_tensor.hpp" -#include "ngraph/runtime/reference/not.hpp" #include "ngraph/validation_util.hpp" +#include "openvino/reference/not.hpp" using namespace ngraph; using namespace std; diff --git a/src/core/src/op/logical_or.cpp b/src/core/src/op/logical_or.cpp index f918d99458d..d7acb24f00a 100644 --- a/src/core/src/op/logical_or.cpp +++ b/src/core/src/op/logical_or.cpp @@ -5,8 +5,8 @@ #include "itt.hpp" #include "ngraph/op/or.hpp" #include "ngraph/runtime/host_tensor.hpp" -#include "ngraph/runtime/reference/or.hpp" #include "ngraph/validation_util.hpp" +#include "openvino/reference/or.hpp" using namespace std; using namespace ngraph; diff --git a/src/core/src/op/loop.cpp b/src/core/src/op/loop.cpp index 41d03572419..5c43e7b3962 100644 --- a/src/core/src/op/loop.cpp +++ b/src/core/src/op/loop.cpp @@ -11,7 +11,7 @@ #include "ngraph/factory.hpp" #include "ngraph/graph_util.hpp" #include "ngraph/opsets/opset5.hpp" -#include "ngraph/runtime/reference/loop.hpp" +#include "openvino/reference/loop.hpp" using namespace std; using namespace ngraph; diff --git a/src/core/src/op/matmul.cpp b/src/core/src/op/matmul.cpp index 25841f31770..bb5579f44cf 100644 --- a/src/core/src/op/matmul.cpp +++ b/src/core/src/op/matmul.cpp @@ -9,7 +9,7 @@ #include "itt.hpp" #include "matmul_shape_inference.hpp" #include "ngraph/attribute_visitor.hpp" -#include "ngraph/runtime/reference/matmul.hpp" +#include "openvino/reference/matmul.hpp" using namespace std; using namespace ngraph; diff --git a/src/core/src/op/max_pool.cpp b/src/core/src/op/max_pool.cpp index 8940f7e4bf3..7c017cab6f9 100644 --- a/src/core/src/op/max_pool.cpp +++ b/src/core/src/op/max_pool.cpp @@ -10,8 +10,8 @@ #include "ngraph/op/add.hpp" #include "ngraph/op/constant.hpp" #include "ngraph/runtime/host_tensor.hpp" -#include "ngraph/runtime/reference/max_pool.hpp" #include "ngraph/validation_util.hpp" +#include "openvino/reference/max_pool.hpp" using namespace std; using namespace ngraph; diff --git a/src/core/src/op/maximum.cpp b/src/core/src/op/maximum.cpp index 4880341df26..f1b7a98862f 100644 --- a/src/core/src/op/maximum.cpp +++ b/src/core/src/op/maximum.cpp @@ -11,8 +11,8 @@ #include "ngraph/op/greater.hpp" #include "ngraph/op/multiply.hpp" #include "ngraph/runtime/host_tensor.hpp" -#include "ngraph/runtime/reference/maximum.hpp" #include "ngraph/type/element_type.hpp" +#include "openvino/reference/maximum.hpp" using namespace std; using namespace ngraph; diff --git a/src/core/src/op/minimum.cpp b/src/core/src/op/minimum.cpp index 101dbb10eb6..0a26b2ff9b7 100644 --- a/src/core/src/op/minimum.cpp +++ b/src/core/src/op/minimum.cpp @@ -11,8 +11,8 @@ #include "ngraph/op/less.hpp" #include "ngraph/op/multiply.hpp" #include "ngraph/runtime/host_tensor.hpp" -#include "ngraph/runtime/reference/minimum.hpp" #include "ngraph/type/element_type.hpp" +#include "openvino/reference/minimum.hpp" using namespace std; using namespace ngraph; diff --git a/src/core/src/op/mish.cpp b/src/core/src/op/mish.cpp index b5c61280ff2..f118d1183b8 100644 --- a/src/core/src/op/mish.cpp +++ b/src/core/src/op/mish.cpp @@ -9,7 +9,7 @@ #include "itt.hpp" #include "ngraph/attribute_visitor.hpp" #include "ngraph/runtime/host_tensor.hpp" -#include "ngraph/runtime/reference/mish.hpp" +#include "openvino/reference/mish.hpp" using namespace std; using namespace ngraph; diff --git a/src/core/src/op/mod.cpp b/src/core/src/op/mod.cpp index aa82688ed6c..baf5a8c7dde 100644 --- a/src/core/src/op/mod.cpp +++ b/src/core/src/op/mod.cpp @@ -5,7 +5,7 @@ #include "ngraph/op/mod.hpp" #include "itt.hpp" -#include "ngraph/runtime/reference/mod.hpp" +#include "openvino/reference/mod.hpp" using namespace std; using namespace ngraph; diff --git a/src/core/src/op/multiply.cpp b/src/core/src/op/multiply.cpp index 1a92ec29c7c..b0808006a01 100644 --- a/src/core/src/op/multiply.cpp +++ b/src/core/src/op/multiply.cpp @@ -6,7 +6,7 @@ #include "itt.hpp" #include "ngraph/runtime/host_tensor.hpp" -#include "ngraph/runtime/reference/multiply.hpp" +#include "openvino/reference/multiply.hpp" using namespace std; using namespace ngraph; diff --git a/src/core/src/op/mvn.cpp b/src/core/src/op/mvn.cpp index 7b9d6420fd6..ea4ce675e33 100644 --- a/src/core/src/op/mvn.cpp +++ b/src/core/src/op/mvn.cpp @@ -7,7 +7,7 @@ #include #include "itt.hpp" -#include "ngraph/runtime/reference/mvn.hpp" +#include "openvino/reference/mvn.hpp" using namespace std; using namespace ngraph; diff --git a/src/core/src/op/negative.cpp b/src/core/src/op/negative.cpp index 8d7fa0d6221..298f28b0cee 100644 --- a/src/core/src/op/negative.cpp +++ b/src/core/src/op/negative.cpp @@ -6,8 +6,8 @@ #include "itt.hpp" #include "ngraph/runtime/host_tensor.hpp" -#include "ngraph/runtime/reference/negate.hpp" #include "ngraph/validation_util.hpp" +#include "openvino/reference/negate.hpp" using namespace std; using namespace ngraph; diff --git a/src/core/src/op/non_zero.cpp b/src/core/src/op/non_zero.cpp index c3e6a81ebcd..c5640f620cf 100644 --- a/src/core/src/op/non_zero.cpp +++ b/src/core/src/op/non_zero.cpp @@ -10,8 +10,8 @@ #include "itt.hpp" #include "ngraph/op/op.hpp" #include "ngraph/runtime/host_tensor.hpp" -#include "ngraph/runtime/reference/non_zero.hpp" #include "ngraph/type/element_type_traits.hpp" +#include "openvino/reference/non_zero.hpp" using namespace ngraph; using namespace std; diff --git a/src/core/src/op/not_equal.cpp b/src/core/src/op/not_equal.cpp index 582d2e5c297..8d20ea862b6 100644 --- a/src/core/src/op/not_equal.cpp +++ b/src/core/src/op/not_equal.cpp @@ -6,8 +6,8 @@ #include "itt.hpp" #include "ngraph/runtime/host_tensor.hpp" -#include "ngraph/runtime/reference/not_equal.hpp" #include "ngraph/validation_util.hpp" +#include "openvino/reference/not_equal.hpp" using namespace std; using namespace ngraph; diff --git a/src/core/src/op/one_hot.cpp b/src/core/src/op/one_hot.cpp index 69312623b77..168b66472a1 100644 --- a/src/core/src/op/one_hot.cpp +++ b/src/core/src/op/one_hot.cpp @@ -9,9 +9,9 @@ #include "itt.hpp" #include "ngraph/attribute_visitor.hpp" #include "ngraph/op/util/op_types.hpp" -#include "ngraph/runtime/reference/one_hot.hpp" #include "ngraph/validation_util.hpp" #include "openvino/op/util/precision_sensitive_attribute.hpp" +#include "openvino/reference/one_hot.hpp" using namespace std; using namespace ngraph; diff --git a/src/core/src/op/prelu.cpp b/src/core/src/op/prelu.cpp index 41507085708..b8f6174f7b3 100644 --- a/src/core/src/op/prelu.cpp +++ b/src/core/src/op/prelu.cpp @@ -4,10 +4,10 @@ #include "ngraph/op/prelu.hpp" -#include #include #include "itt.hpp" +#include "openvino/reference/prelu.hpp" using namespace std; diff --git a/src/core/src/op/prior_box.cpp b/src/core/src/op/prior_box.cpp index 47af97ab3be..a0f29483bfe 100644 --- a/src/core/src/op/prior_box.cpp +++ b/src/core/src/op/prior_box.cpp @@ -2,7 +2,7 @@ // SPDX-License-Identifier: Apache-2.0 // -#include "ngraph/runtime/reference/prior_box.hpp" +#include "openvino/reference/prior_box.hpp" #include diff --git a/src/core/src/op/prior_box_clustered.cpp b/src/core/src/op/prior_box_clustered.cpp index 1d7979e19cd..85f8ae916f7 100644 --- a/src/core/src/op/prior_box_clustered.cpp +++ b/src/core/src/op/prior_box_clustered.cpp @@ -2,7 +2,7 @@ // SPDX-License-Identifier: Apache-2.0 // -#include "ngraph/runtime/reference/prior_box_clustered.hpp" +#include "openvino/reference/prior_box_clustered.hpp" #include "itt.hpp" #include "openvino/op/prior_box_clustered.hpp" diff --git a/src/core/src/op/random_uniform.cpp b/src/core/src/op/random_uniform.cpp index 00d24af6363..ab99624471c 100644 --- a/src/core/src/op/random_uniform.cpp +++ b/src/core/src/op/random_uniform.cpp @@ -2,7 +2,7 @@ // SPDX-License-Identifier: Apache-2.0 // -#include "ngraph/runtime/reference/random_uniform.hpp" +#include "openvino/reference/random_uniform.hpp" #include "itt.hpp" #include "openvino/op/random_uniform.hpp" diff --git a/src/core/src/op/range.cpp b/src/core/src/op/range.cpp index c629923c661..2778ca08f32 100644 --- a/src/core/src/op/range.cpp +++ b/src/core/src/op/range.cpp @@ -10,8 +10,8 @@ #include "itt.hpp" #include "ngraph/op/constant.hpp" #include "ngraph/runtime/host_tensor.hpp" -#include "ngraph/runtime/reference/range.hpp" #include "ngraph/type/element_type_traits.hpp" +#include "openvino/reference/range.hpp" #include "range_shape_inference.hpp" using namespace std; diff --git a/src/core/src/op/reduce_l1.cpp b/src/core/src/op/reduce_l1.cpp index ff8ad664808..bafd258eaf7 100644 --- a/src/core/src/op/reduce_l1.cpp +++ b/src/core/src/op/reduce_l1.cpp @@ -10,8 +10,8 @@ #include "ngraph/graph_util.hpp" #include "ngraph/op/util/evaluate_helpers.hpp" #include "ngraph/runtime/host_tensor.hpp" -#include "ngraph/runtime/reference/reduce_l1.hpp" #include "ngraph/shape_util.hpp" +#include "openvino/reference/reduce_l1.hpp" using namespace std; using namespace ngraph; diff --git a/src/core/src/op/reduce_l2.cpp b/src/core/src/op/reduce_l2.cpp index 6a59c5e0704..ae840ba7127 100644 --- a/src/core/src/op/reduce_l2.cpp +++ b/src/core/src/op/reduce_l2.cpp @@ -10,8 +10,8 @@ #include "ngraph/graph_util.hpp" #include "ngraph/op/util/evaluate_helpers.hpp" #include "ngraph/runtime/host_tensor.hpp" -#include "ngraph/runtime/reference/reduce_l2.hpp" #include "ngraph/shape_util.hpp" +#include "openvino/reference/reduce_l2.hpp" using namespace std; using namespace ngraph; diff --git a/src/core/src/op/reduce_logical_and.cpp b/src/core/src/op/reduce_logical_and.cpp index febc9617a5c..9d8941fcc55 100644 --- a/src/core/src/op/reduce_logical_and.cpp +++ b/src/core/src/op/reduce_logical_and.cpp @@ -10,7 +10,7 @@ #include "ngraph/log.hpp" #include "ngraph/op/util/evaluate_helpers.hpp" #include "ngraph/runtime/host_tensor.hpp" -#include "ngraph/runtime/reference/logical_reduction.hpp" +#include "openvino/reference/logical_reduction.hpp" #include "openvino/util/log.hpp" using namespace ngraph; diff --git a/src/core/src/op/reduce_logical_or.cpp b/src/core/src/op/reduce_logical_or.cpp index 3cdaee8d60c..9b73f7a8b57 100644 --- a/src/core/src/op/reduce_logical_or.cpp +++ b/src/core/src/op/reduce_logical_or.cpp @@ -10,7 +10,7 @@ #include "ngraph/log.hpp" #include "ngraph/op/util/evaluate_helpers.hpp" #include "ngraph/runtime/host_tensor.hpp" -#include "ngraph/runtime/reference/logical_reduction.hpp" +#include "openvino/reference/logical_reduction.hpp" #include "openvino/util/log.hpp" using namespace ngraph; diff --git a/src/core/src/op/reduce_max.cpp b/src/core/src/op/reduce_max.cpp index 4e9ea9aaa5a..33ce0b170fb 100644 --- a/src/core/src/op/reduce_max.cpp +++ b/src/core/src/op/reduce_max.cpp @@ -10,8 +10,8 @@ #include "ngraph/op/max.hpp" #include "ngraph/op/util/evaluate_helpers.hpp" #include "ngraph/runtime/host_tensor.hpp" -#include "ngraph/runtime/reference/max.hpp" #include "ngraph/shape_util.hpp" +#include "openvino/reference/max.hpp" using namespace std; using namespace ngraph; diff --git a/src/core/src/op/reduce_mean.cpp b/src/core/src/op/reduce_mean.cpp index e5f795daac7..931c98cf7fa 100644 --- a/src/core/src/op/reduce_mean.cpp +++ b/src/core/src/op/reduce_mean.cpp @@ -11,8 +11,8 @@ #include "ngraph/op/broadcast.hpp" #include "ngraph/op/util/evaluate_helpers.hpp" #include "ngraph/runtime/host_tensor.hpp" -#include "ngraph/runtime/reference/mean.hpp" #include "ngraph/shape_util.hpp" +#include "openvino/reference/mean.hpp" using namespace std; using namespace ngraph; diff --git a/src/core/src/op/reduce_min.cpp b/src/core/src/op/reduce_min.cpp index d74823884d4..8b6c1f25997 100644 --- a/src/core/src/op/reduce_min.cpp +++ b/src/core/src/op/reduce_min.cpp @@ -9,8 +9,8 @@ #include "ngraph/op/min.hpp" #include "ngraph/op/util/evaluate_helpers.hpp" #include "ngraph/runtime/host_tensor.hpp" -#include "ngraph/runtime/reference/min.hpp" #include "ngraph/shape_util.hpp" +#include "openvino/reference/min.hpp" using namespace std; using namespace ngraph; diff --git a/src/core/src/op/reduce_prod.cpp b/src/core/src/op/reduce_prod.cpp index bfaac06f3fa..217345c2426 100644 --- a/src/core/src/op/reduce_prod.cpp +++ b/src/core/src/op/reduce_prod.cpp @@ -9,8 +9,8 @@ #include "ngraph/graph_util.hpp" #include "ngraph/op/util/evaluate_helpers.hpp" #include "ngraph/runtime/host_tensor.hpp" -#include "ngraph/runtime/reference/product.hpp" #include "ngraph/shape_util.hpp" +#include "openvino/reference/product.hpp" using namespace std; using namespace ngraph; diff --git a/src/core/src/op/reduce_sum.cpp b/src/core/src/op/reduce_sum.cpp index 705474116bd..85d4cfe99d2 100644 --- a/src/core/src/op/reduce_sum.cpp +++ b/src/core/src/op/reduce_sum.cpp @@ -12,8 +12,8 @@ #include "ngraph/op/util/evaluate_helpers.hpp" #include "ngraph/op/util/op_types.hpp" #include "ngraph/runtime/host_tensor.hpp" -#include "ngraph/runtime/reference/sum.hpp" #include "ngraph/shape_util.hpp" +#include "openvino/reference/sum.hpp" using namespace std; using namespace ngraph; diff --git a/src/core/src/op/relu.cpp b/src/core/src/op/relu.cpp index 65b59e722bd..5fe56b430ad 100644 --- a/src/core/src/op/relu.cpp +++ b/src/core/src/op/relu.cpp @@ -9,7 +9,7 @@ #include "itt.hpp" #include "ngraph/op/multiply.hpp" #include "ngraph/runtime/host_tensor.hpp" -#include "ngraph/runtime/reference/relu.hpp" +#include "openvino/reference/relu.hpp" using namespace std; using namespace ngraph; diff --git a/src/core/src/op/reshape.cpp b/src/core/src/op/reshape.cpp index 4a681f628bc..058dff135c0 100644 --- a/src/core/src/op/reshape.cpp +++ b/src/core/src/op/reshape.cpp @@ -12,9 +12,9 @@ #include "itt.hpp" #include "ngraph/op/constant.hpp" #include "ngraph/runtime/opt_kernel/reshape.hpp" -#include "ngraph/runtime/reference/reshape.hpp" #include "openvino/core/dimension_tracker.hpp" #include "openvino/op/util/precision_sensitive_attribute.hpp" +#include "openvino/reference/reshape.hpp" using namespace std; using namespace ngraph; diff --git a/src/core/src/op/reverse.cpp b/src/core/src/op/reverse.cpp index 90f2283ecd2..5f6f4e2010f 100644 --- a/src/core/src/op/reverse.cpp +++ b/src/core/src/op/reverse.cpp @@ -13,7 +13,7 @@ #include "ngraph/function.hpp" #include "ngraph/op/constant.hpp" #include "ngraph/op/util/op_types.hpp" -#include "ngraph/runtime/reference/reverse.hpp" +#include "openvino/reference/reverse.hpp" #include "reverse_shape_inference.hpp" using namespace std; diff --git a/src/core/src/op/roi_align.cpp b/src/core/src/op/roi_align.cpp index 383c7c5ac55..354ef48304c 100644 --- a/src/core/src/op/roi_align.cpp +++ b/src/core/src/op/roi_align.cpp @@ -2,7 +2,7 @@ // SPDX-License-Identifier: Apache-2.0 // -#include "ngraph/runtime/reference/roi_align.hpp" +#include "openvino/reference/roi_align.hpp" #include "itt.hpp" #include "openvino/core/validation_util.hpp" diff --git a/src/core/src/op/scatter_elements_update.cpp b/src/core/src/op/scatter_elements_update.cpp index 2e8a27b4b09..b0762304ea9 100644 --- a/src/core/src/op/scatter_elements_update.cpp +++ b/src/core/src/op/scatter_elements_update.cpp @@ -7,8 +7,8 @@ #include #include "itt.hpp" -#include "ngraph/runtime/reference/scatter_elements_update.hpp" #include "openvino/core/validation_util.hpp" +#include "openvino/reference/scatter_elements_update.hpp" using namespace std; diff --git a/src/core/src/op/scatter_nd_update.cpp b/src/core/src/op/scatter_nd_update.cpp index bff970e32cf..b2be449ba61 100644 --- a/src/core/src/op/scatter_nd_update.cpp +++ b/src/core/src/op/scatter_nd_update.cpp @@ -7,8 +7,8 @@ #include "bound_evaluate.hpp" #include "itt.hpp" #include "ngraph/runtime/host_tensor.hpp" -#include "ngraph/runtime/reference/scatter_nd_update.hpp" #include "ngraph/validation_util.hpp" +#include "openvino/reference/scatter_nd_update.hpp" using namespace std; using namespace ngraph; diff --git a/src/core/src/op/scatter_update.cpp b/src/core/src/op/scatter_update.cpp index 0544eca09ab..aa44aab800a 100644 --- a/src/core/src/op/scatter_update.cpp +++ b/src/core/src/op/scatter_update.cpp @@ -6,11 +6,11 @@ #include "bound_evaluate.hpp" #include "itt.hpp" -#include "ngraph/runtime/reference/scatter_update.hpp" #include "ngraph/shape.hpp" #include "ngraph/type/element_type.hpp" #include "ngraph/type/element_type_traits.hpp" #include "ngraph/validation_util.hpp" +#include "openvino/reference/scatter_update.hpp" using namespace std; using namespace ngraph; diff --git a/src/core/src/op/select.cpp b/src/core/src/op/select.cpp index 356bb693212..4b2b05858e5 100644 --- a/src/core/src/op/select.cpp +++ b/src/core/src/op/select.cpp @@ -9,8 +9,8 @@ #include "bound_evaluate.hpp" #include "itt.hpp" #include "ngraph/attribute_visitor.hpp" -#include "ngraph/runtime/reference/select.hpp" #include "ngraph/validation_util.hpp" +#include "openvino/reference/select.hpp" #include "select_shape_inference.hpp" using namespace std; diff --git a/src/core/src/op/shape_of.cpp b/src/core/src/op/shape_of.cpp index a888e50b829..b325e724d34 100644 --- a/src/core/src/op/shape_of.cpp +++ b/src/core/src/op/shape_of.cpp @@ -14,9 +14,9 @@ #include "ngraph/op/gather.hpp" #include "ngraph/op/select.hpp" #include "ngraph/runtime/host_tensor.hpp" -#include "ngraph/runtime/reference/shape_of.hpp" #include "ngraph/type/element_type_traits.hpp" #include "openvino/core/dimension_tracker.hpp" +#include "openvino/reference/shape_of.hpp" using namespace std; using namespace ngraph; diff --git a/src/core/src/op/shuffle_channels.cpp b/src/core/src/op/shuffle_channels.cpp index b1a9463c2e0..e2f694e4e6c 100644 --- a/src/core/src/op/shuffle_channels.cpp +++ b/src/core/src/op/shuffle_channels.cpp @@ -12,10 +12,10 @@ #include "ngraph/builder/reshape.hpp" #include "ngraph/runtime/host_tensor.hpp" #include "ngraph/runtime/opt_kernel/reshape.hpp" -#include "ngraph/runtime/reference/shuffle_channels.hpp" #include "ngraph/type/element_type.hpp" #include "ngraph/type/element_type_traits.hpp" #include "openvino/core/validation_util.hpp" +#include "openvino/reference/shuffle_channels.hpp" using namespace std; using namespace ngraph; diff --git a/src/core/src/op/sigmoid.cpp b/src/core/src/op/sigmoid.cpp index 2a91724ea81..56d5ffdf7c1 100644 --- a/src/core/src/op/sigmoid.cpp +++ b/src/core/src/op/sigmoid.cpp @@ -9,8 +9,8 @@ #include "itt.hpp" #include "ngraph/log.hpp" #include "ngraph/runtime/host_tensor.hpp" -#include "ngraph/runtime/reference/sigmoid.hpp" #include "ngraph/util.hpp" +#include "openvino/reference/sigmoid.hpp" using namespace std; using namespace ngraph; diff --git a/src/core/src/op/sign.cpp b/src/core/src/op/sign.cpp index 2d624c8bfd9..18ed0b856d7 100644 --- a/src/core/src/op/sign.cpp +++ b/src/core/src/op/sign.cpp @@ -6,8 +6,8 @@ #include "itt.hpp" #include "ngraph/runtime/host_tensor.hpp" -#include "ngraph/runtime/reference/sign.hpp" #include "ngraph/validation_util.hpp" +#include "openvino/reference/sign.hpp" using namespace std; using namespace ngraph; diff --git a/src/core/src/op/sin.cpp b/src/core/src/op/sin.cpp index b76abc40534..565d435bd41 100644 --- a/src/core/src/op/sin.cpp +++ b/src/core/src/op/sin.cpp @@ -8,7 +8,7 @@ #include "ngraph/op/cos.hpp" #include "ngraph/op/multiply.hpp" #include "ngraph/runtime/host_tensor.hpp" -#include "ngraph/runtime/reference/sin.hpp" +#include "openvino/reference/sin.hpp" using namespace std; using namespace ngraph; diff --git a/src/core/src/op/sinh.cpp b/src/core/src/op/sinh.cpp index 7aa33583fb1..b2bc95c2982 100644 --- a/src/core/src/op/sinh.cpp +++ b/src/core/src/op/sinh.cpp @@ -7,7 +7,7 @@ #include #include "itt.hpp" -#include "ngraph/runtime/reference/sinh.hpp" +#include "openvino/reference/sinh.hpp" using namespace std; using namespace ngraph; diff --git a/src/core/src/op/slice.cpp b/src/core/src/op/slice.cpp index 3b25450b421..ca87c73a705 100644 --- a/src/core/src/op/slice.cpp +++ b/src/core/src/op/slice.cpp @@ -11,7 +11,7 @@ #include "ngraph/attribute_visitor.hpp" #include "ngraph/graph_util.hpp" #include "ngraph/op/constant.hpp" -#include "ngraph/runtime/reference/slice.hpp" +#include "openvino/reference/slice.hpp" #include "slice_shape_inference.hpp" using namespace std; diff --git a/src/core/src/op/softplus.cpp b/src/core/src/op/softplus.cpp index 8521197a7d4..811ea65006f 100644 --- a/src/core/src/op/softplus.cpp +++ b/src/core/src/op/softplus.cpp @@ -9,7 +9,7 @@ #include "itt.hpp" #include "ngraph/attribute_visitor.hpp" #include "ngraph/runtime/host_tensor.hpp" -#include "ngraph/runtime/reference/softplus.hpp" +#include "openvino/reference/softplus.hpp" using namespace std; using namespace ngraph; diff --git a/src/core/src/op/softsign.cpp b/src/core/src/op/softsign.cpp index 7554ab91d08..d30456f37fd 100644 --- a/src/core/src/op/softsign.cpp +++ b/src/core/src/op/softsign.cpp @@ -1,7 +1,7 @@ // Copyright (C) 2018-2023 Intel Corporation // SPDX-License-Identifier: Apache-2.0 // -#include "ngraph/runtime/reference/softsign.hpp" +#include "openvino/reference/softsign.hpp" #include diff --git a/src/core/src/op/space_to_batch.cpp b/src/core/src/op/space_to_batch.cpp index 6f8cf4841b2..4f383a28411 100644 --- a/src/core/src/op/space_to_batch.cpp +++ b/src/core/src/op/space_to_batch.cpp @@ -16,9 +16,9 @@ #include "ngraph/node.hpp" #include "ngraph/ops.hpp" #include "ngraph/runtime/opt_kernel/reshape.hpp" -#include "ngraph/runtime/reference/pad.hpp" #include "ngraph/shape.hpp" #include "openvino/op/util/precision_sensitive_attribute.hpp" +#include "openvino/reference/pad.hpp" using namespace std; using namespace ngraph; diff --git a/src/core/src/op/space_to_depth.cpp b/src/core/src/op/space_to_depth.cpp index ffb18e55dd4..1885dff9259 100644 --- a/src/core/src/op/space_to_depth.cpp +++ b/src/core/src/op/space_to_depth.cpp @@ -13,8 +13,8 @@ #include "itt.hpp" #include "ngraph/attribute_visitor.hpp" #include "ngraph/builder/reshape.hpp" -#include "ngraph/runtime/reference/space_to_depth.hpp" #include "ngraph/shape.hpp" +#include "openvino/reference/space_to_depth.hpp" using namespace ngraph; diff --git a/src/core/src/op/split.cpp b/src/core/src/op/split.cpp index 07a5d95c9f5..f9369af1463 100644 --- a/src/core/src/op/split.cpp +++ b/src/core/src/op/split.cpp @@ -2,7 +2,7 @@ // SPDX-License-Identifier: Apache-2.0 // -#include "ngraph/runtime/reference/split.hpp" +#include "openvino/reference/split.hpp" #include #include diff --git a/src/core/src/op/sqrt.cpp b/src/core/src/op/sqrt.cpp index 129528e9773..3c1f25eeab7 100644 --- a/src/core/src/op/sqrt.cpp +++ b/src/core/src/op/sqrt.cpp @@ -8,7 +8,7 @@ #include "ngraph/op/add.hpp" #include "ngraph/op/divide.hpp" #include "ngraph/runtime/host_tensor.hpp" -#include "ngraph/runtime/reference/sqrt.hpp" +#include "openvino/reference/sqrt.hpp" using namespace std; using namespace ngraph; diff --git a/src/core/src/op/squeeze.cpp b/src/core/src/op/squeeze.cpp index 94f000c84ee..24c60610c02 100644 --- a/src/core/src/op/squeeze.cpp +++ b/src/core/src/op/squeeze.cpp @@ -12,7 +12,7 @@ #include "bound_evaluate.hpp" #include "itt.hpp" #include "ngraph/op/constant.hpp" -#include "ngraph/runtime/reference/copy.hpp" +#include "openvino/reference/copy.hpp" #include "squeeze_shape_inference.hpp" using namespace std; diff --git a/src/core/src/op/strided_slice.cpp b/src/core/src/op/strided_slice.cpp index 3053141d917..e020cb937df 100644 --- a/src/core/src/op/strided_slice.cpp +++ b/src/core/src/op/strided_slice.cpp @@ -14,7 +14,6 @@ #include "ngraph/op/constant.hpp" #include "ngraph/op/shape_of.hpp" #include "ngraph/runtime/host_tensor.hpp" -#include "ngraph/runtime/reference/strided_slice.hpp" #include "ngraph/slice_plan.hpp" #include "ngraph/type/element_type_traits.hpp" #include "ngraph/util.hpp" @@ -22,6 +21,7 @@ #include "openvino/core/validation_util.hpp" #include "openvino/op/util/precision_sensitive_attribute.hpp" #include "openvino/pass/constant_folding.hpp" +#include "openvino/reference/strided_slice.hpp" #include "strided_slice_shape_inference.hpp" using namespace std; diff --git a/src/core/src/op/subtract.cpp b/src/core/src/op/subtract.cpp index 3a315e69e98..966d94b31c6 100644 --- a/src/core/src/op/subtract.cpp +++ b/src/core/src/op/subtract.cpp @@ -7,7 +7,7 @@ #include "itt.hpp" #include "ngraph/op/negative.hpp" #include "ngraph/runtime/host_tensor.hpp" -#include "ngraph/runtime/reference/subtract.hpp" +#include "openvino/reference/subtract.hpp" using namespace std; using namespace ngraph; diff --git a/src/core/src/op/swish.cpp b/src/core/src/op/swish.cpp index beb237333ce..8ea05d007a0 100644 --- a/src/core/src/op/swish.cpp +++ b/src/core/src/op/swish.cpp @@ -10,7 +10,7 @@ #include "ngraph/attribute_visitor.hpp" #include "ngraph/op/constant.hpp" #include "ngraph/runtime/host_tensor.hpp" -#include "ngraph/runtime/reference/swish.hpp" +#include "openvino/reference/swish.hpp" using namespace std; using namespace ngraph; diff --git a/src/core/src/op/tan.cpp b/src/core/src/op/tan.cpp index 6fbabb6abac..a5985861822 100644 --- a/src/core/src/op/tan.cpp +++ b/src/core/src/op/tan.cpp @@ -10,7 +10,7 @@ #include "ngraph/op/divide.hpp" #include "ngraph/op/multiply.hpp" #include "ngraph/runtime/host_tensor.hpp" -#include "ngraph/runtime/reference/tan.hpp" +#include "openvino/reference/tan.hpp" using namespace std; using namespace ngraph; diff --git a/src/core/src/op/tanh.cpp b/src/core/src/op/tanh.cpp index d3837edfd1c..ff8716a0e8c 100644 --- a/src/core/src/op/tanh.cpp +++ b/src/core/src/op/tanh.cpp @@ -9,7 +9,7 @@ #include "ngraph/op/multiply.hpp" #include "ngraph/op/subtract.hpp" #include "ngraph/runtime/host_tensor.hpp" -#include "ngraph/runtime/reference/tanh.hpp" +#include "openvino/reference/tanh.hpp" using namespace std; using namespace ngraph; diff --git a/src/core/src/op/tile.cpp b/src/core/src/op/tile.cpp index 5572d20300e..8fb80a1ca3d 100644 --- a/src/core/src/op/tile.cpp +++ b/src/core/src/op/tile.cpp @@ -9,8 +9,8 @@ #include "bound_evaluate.hpp" #include "itt.hpp" #include "ngraph/op/constant.hpp" -#include "ngraph/runtime/reference/tile.hpp" #include "openvino/op/util/precision_sensitive_attribute.hpp" +#include "openvino/reference/tile.hpp" using namespace std; using namespace ngraph; diff --git a/src/core/src/op/topk.cpp b/src/core/src/op/topk.cpp index fe7e48eaa7c..d650ecfece4 100644 --- a/src/core/src/op/topk.cpp +++ b/src/core/src/op/topk.cpp @@ -13,10 +13,10 @@ #include "ngraph/op/constant.hpp" #include "ngraph/op/util/op_types.hpp" #include "ngraph/runtime/host_tensor.hpp" -#include "ngraph/runtime/reference/topk.hpp" #include "ngraph/shape.hpp" #include "ngraph/validation_util.hpp" #include "openvino/core/dimension_tracker.hpp" +#include "openvino/reference/topk.hpp" using namespace std; using namespace ngraph; diff --git a/src/core/src/op/transpose.cpp b/src/core/src/op/transpose.cpp index 31fe275ecff..e0e8a0625a5 100644 --- a/src/core/src/op/transpose.cpp +++ b/src/core/src/op/transpose.cpp @@ -6,8 +6,8 @@ #include "bound_evaluate.hpp" #include "itt.hpp" -#include "ngraph/runtime/reference/transpose.hpp" #include "ngraph/validation_util.hpp" +#include "openvino/reference/transpose.hpp" #include "transpose_shape_inference.hpp" using namespace std; diff --git a/src/core/src/op/unique.cpp b/src/core/src/op/unique.cpp index 4e91b7da1d1..df179127b5b 100644 --- a/src/core/src/op/unique.cpp +++ b/src/core/src/op/unique.cpp @@ -2,7 +2,7 @@ // SPDX-License-Identifier: Apache-2.0 // -#include "ngraph/runtime/reference/unique.hpp" +#include "openvino/reference/unique.hpp" #include "element_visitor.hpp" #include "itt.hpp" diff --git a/src/core/src/op/unsqueeze.cpp b/src/core/src/op/unsqueeze.cpp index 4e877ee3506..e79fe09044a 100644 --- a/src/core/src/op/unsqueeze.cpp +++ b/src/core/src/op/unsqueeze.cpp @@ -11,7 +11,7 @@ #include "bound_evaluate.hpp" #include "element_visitor.hpp" #include "itt.hpp" -#include "ngraph/runtime/reference/copy.hpp" +#include "openvino/reference/copy.hpp" #include "unsqueeze_shape_inference.hpp" using namespace std; diff --git a/src/core/src/op/util/broadcast_base.cpp b/src/core/src/op/util/broadcast_base.cpp index 527d854dc5d..f16647cecd2 100644 --- a/src/core/src/op/util/broadcast_base.cpp +++ b/src/core/src/op/util/broadcast_base.cpp @@ -9,11 +9,11 @@ #include "bound_evaluate.hpp" #include "itt.hpp" #include "ngraph/runtime/host_tensor.hpp" -#include "ngraph/runtime/reference/broadcast.hpp" #include "ngraph/validation_util.hpp" #include "openvino/core/validation_util.hpp" #include "openvino/op/concat.hpp" #include "openvino/op/util/precision_sensitive_attribute.hpp" +#include "openvino/reference/broadcast.hpp" using namespace std; diff --git a/src/core/src/op/util/gather_base.cpp b/src/core/src/op/util/gather_base.cpp index fc8e45bcdef..2d5f97bc220 100644 --- a/src/core/src/op/util/gather_base.cpp +++ b/src/core/src/op/util/gather_base.cpp @@ -7,10 +7,10 @@ #include "bound_evaluate.hpp" #include "gather_shape_inference.hpp" #include "itt.hpp" -#include "ngraph/runtime/reference/gather.hpp" #include "openvino/op/concat.hpp" #include "openvino/op/constant.hpp" #include "openvino/op/squeeze.hpp" +#include "openvino/reference/gather.hpp" ov::op::util::GatherBase::GatherBase(const Output& data, const Output& indices, diff --git a/src/core/src/op/util/pad_base.cpp b/src/core/src/op/util/pad_base.cpp index 51f7b45b810..31c9fb17ad2 100644 --- a/src/core/src/op/util/pad_base.cpp +++ b/src/core/src/op/util/pad_base.cpp @@ -4,11 +4,11 @@ #include "bound_evaluate.hpp" #include "itt.hpp" -#include "ngraph/runtime/reference/pad.hpp" #include "openvino/core/attribute_visitor.hpp" #include "openvino/op/constant.hpp" #include "openvino/op/pad.hpp" #include "openvino/op/util/precision_sensitive_attribute.hpp" +#include "openvino/reference/pad.hpp" #include "pad_shape_inference.hpp" namespace ov { diff --git a/src/core/src/op/variadic_split.cpp b/src/core/src/op/variadic_split.cpp index 1ef28072725..1b8c6279b1a 100644 --- a/src/core/src/op/variadic_split.cpp +++ b/src/core/src/op/variadic_split.cpp @@ -9,8 +9,8 @@ #include "bound_evaluate.hpp" #include "compare.hpp" #include "itt.hpp" -#include "ngraph/runtime/reference/slice.hpp" #include "ngraph/validation_util.hpp" +#include "openvino/reference/slice.hpp" #include "variadic_split_shape_inference.hpp" using namespace std; diff --git a/src/core/src/op/xor.cpp b/src/core/src/op/xor.cpp index ee06bdca236..846e0714166 100644 --- a/src/core/src/op/xor.cpp +++ b/src/core/src/op/xor.cpp @@ -6,8 +6,8 @@ #include "itt.hpp" #include "ngraph/runtime/host_tensor.hpp" -#include "ngraph/runtime/reference/xor.hpp" #include "ngraph/validation_util.hpp" +#include "openvino/reference/xor.hpp" using namespace std; using namespace ngraph; diff --git a/src/core/src/pass/serialize.cpp b/src/core/src/pass/serialize.cpp index eb5b3ca277d..a78ad5dbc48 100644 --- a/src/core/src/pass/serialize.cpp +++ b/src/core/src/pass/serialize.cpp @@ -12,7 +12,6 @@ #include #include -#include "ngraph/runtime/reference/convert.hpp" #include "openvino/core/coordinate_diff.hpp" #include "openvino/core/except.hpp" #include "openvino/core/meta_data.hpp" @@ -21,6 +20,7 @@ #include "openvino/op/util/framework_node.hpp" #include "openvino/opsets/opset1.hpp" #include "openvino/pass/constant_folding.hpp" +#include "openvino/reference/convert.hpp" #include "openvino/util/file_util.hpp" #include "pugixml.hpp" #include "transformations/hash.hpp" diff --git a/src/core/tests/span.cpp b/src/core/tests/span.cpp index 05aec1e3dbc..529965b1fc3 100644 --- a/src/core/tests/span.cpp +++ b/src/core/tests/span.cpp @@ -2,7 +2,7 @@ // SPDX-License-Identifier: Apache-2.0 // -#include "ngraph/runtime/reference/utils/span.hpp" +#include "openvino/reference/utils/span.hpp" #include #include diff --git a/src/plugins/intel_gpu/tests/unit/dynamic_execution/priorbox_test.cpp b/src/plugins/intel_gpu/tests/unit/dynamic_execution/priorbox_test.cpp index aa1c132aa5d..4c027f8b236 100644 --- a/src/plugins/intel_gpu/tests/unit/dynamic_execution/priorbox_test.cpp +++ b/src/plugins/intel_gpu/tests/unit/dynamic_execution/priorbox_test.cpp @@ -4,7 +4,7 @@ #include "test_utils.h" #include "random_generator.hpp" -#include "ngraph/runtime/reference/prior_box.hpp" +#include "openvino/reference/prior_box.hpp" #include #include diff --git a/src/plugins/intel_gpu/tests/unit/test_cases/adaptive_avg_pooling_gpu_test.cpp b/src/plugins/intel_gpu/tests/unit/test_cases/adaptive_avg_pooling_gpu_test.cpp index ee38d6803ba..2e234751438 100644 --- a/src/plugins/intel_gpu/tests/unit/test_cases/adaptive_avg_pooling_gpu_test.cpp +++ b/src/plugins/intel_gpu/tests/unit/test_cases/adaptive_avg_pooling_gpu_test.cpp @@ -4,7 +4,7 @@ #include "test_utils.h" #include "random_generator.hpp" -#include "ngraph/runtime/reference/adaptive_avg_pool.hpp" +#include "openvino/reference/adaptive_avg_pool.hpp" #include #include diff --git a/src/plugins/intel_gpu/tests/unit/test_cases/adaptive_max_pooling_gpu_test.cpp b/src/plugins/intel_gpu/tests/unit/test_cases/adaptive_max_pooling_gpu_test.cpp index 8211d396f09..f964cb03597 100644 --- a/src/plugins/intel_gpu/tests/unit/test_cases/adaptive_max_pooling_gpu_test.cpp +++ b/src/plugins/intel_gpu/tests/unit/test_cases/adaptive_max_pooling_gpu_test.cpp @@ -4,8 +4,8 @@ #include "test_utils.h" #include "random_generator.hpp" -#include "ngraph/runtime/reference/adaptive_avg_pool.hpp" -#include "ngraph/runtime/reference/adaptive_max_pool.hpp" +#include "openvino/reference/adaptive_avg_pool.hpp" +#include "openvino/reference/adaptive_max_pool.hpp" #include #include diff --git a/src/plugins/intel_gpu/tests/unit/test_cases/broadcast_gpu_test.cpp b/src/plugins/intel_gpu/tests/unit/test_cases/broadcast_gpu_test.cpp index af129c0d229..3b8f70d928b 100644 --- a/src/plugins/intel_gpu/tests/unit/test_cases/broadcast_gpu_test.cpp +++ b/src/plugins/intel_gpu/tests/unit/test_cases/broadcast_gpu_test.cpp @@ -3,8 +3,8 @@ // #include "test_utils.h" -#include "ngraph/runtime/reference/tile.hpp" -#include "ngraph/runtime/reference/broadcast.hpp" +#include "openvino/reference/tile.hpp" +#include "openvino/reference/broadcast.hpp" #include #include diff --git a/src/plugins/intel_gpu/tests/unit/test_cases/empty_tensor_gpu_test.cpp b/src/plugins/intel_gpu/tests/unit/test_cases/empty_tensor_gpu_test.cpp index 23108a647ae..0f377c40824 100644 --- a/src/plugins/intel_gpu/tests/unit/test_cases/empty_tensor_gpu_test.cpp +++ b/src/plugins/intel_gpu/tests/unit/test_cases/empty_tensor_gpu_test.cpp @@ -11,7 +11,7 @@ #include #include #include -#include "ngraph/runtime/reference/non_zero.hpp" +#include "openvino/reference/non_zero.hpp" #include diff --git a/src/plugins/intel_gpu/tests/unit/test_cases/gemm_gpu_test.cpp b/src/plugins/intel_gpu/tests/unit/test_cases/gemm_gpu_test.cpp index 6b5b76ffd7f..a35295c5f6e 100644 --- a/src/plugins/intel_gpu/tests/unit/test_cases/gemm_gpu_test.cpp +++ b/src/plugins/intel_gpu/tests/unit/test_cases/gemm_gpu_test.cpp @@ -8,7 +8,7 @@ #include #include #include -#include "ngraph/runtime/reference/matmul.hpp" +#include "openvino/reference/matmul.hpp" #include "compilation_context.hpp" #include "gemm_inst.h" diff --git a/src/plugins/intel_gpu/tests/unit/test_cases/non_zero_gpu_test.cpp b/src/plugins/intel_gpu/tests/unit/test_cases/non_zero_gpu_test.cpp index e8cc0a91836..1944255ee09 100644 --- a/src/plugins/intel_gpu/tests/unit/test_cases/non_zero_gpu_test.cpp +++ b/src/plugins/intel_gpu/tests/unit/test_cases/non_zero_gpu_test.cpp @@ -7,7 +7,7 @@ #include #include -#include "ngraph/runtime/reference/non_zero.hpp" +#include "openvino/reference/non_zero.hpp" #include "non_zero_inst.h" #include "test_utils.h" diff --git a/src/plugins/intel_gpu/tests/unit/test_cases/scatter_nd_update_gpu_test.cpp b/src/plugins/intel_gpu/tests/unit/test_cases/scatter_nd_update_gpu_test.cpp index f2e905a5ff9..c489c1fb86a 100644 --- a/src/plugins/intel_gpu/tests/unit/test_cases/scatter_nd_update_gpu_test.cpp +++ b/src/plugins/intel_gpu/tests/unit/test_cases/scatter_nd_update_gpu_test.cpp @@ -4,7 +4,7 @@ #include "test_utils.h" #include "random_generator.hpp" -#include "ngraph/runtime/reference/scatter_nd_update.hpp" +#include "openvino/reference/scatter_nd_update.hpp" #include "scatter_nd_update_inst.h" #include diff --git a/src/plugins/template/backend/ops/abs.cpp b/src/plugins/template/backend/ops/abs.cpp index f33a935d26b..b71fb5ebadc 100644 --- a/src/plugins/template/backend/ops/abs.cpp +++ b/src/plugins/template/backend/ops/abs.cpp @@ -4,7 +4,7 @@ // clang-format off #include "evaluate_node.hpp" -#include "ngraph/runtime/reference/abs.hpp" +#include "openvino/reference/abs.hpp" // clang-format on template diff --git a/src/plugins/template/backend/ops/adaptive_avg_pool.cpp b/src/plugins/template/backend/ops/adaptive_avg_pool.cpp index 42e414f0356..7c9f888b120 100644 --- a/src/plugins/template/backend/ops/adaptive_avg_pool.cpp +++ b/src/plugins/template/backend/ops/adaptive_avg_pool.cpp @@ -2,7 +2,7 @@ // SPDX-License-Identifier: Apache-2.0 // -#include "ngraph/runtime/reference/adaptive_avg_pool.hpp" +#include "openvino/reference/adaptive_avg_pool.hpp" #include "evaluate_node.hpp" diff --git a/src/plugins/template/backend/ops/adaptive_max_pool.cpp b/src/plugins/template/backend/ops/adaptive_max_pool.cpp index 450c161eec6..03afdd840cd 100644 --- a/src/plugins/template/backend/ops/adaptive_max_pool.cpp +++ b/src/plugins/template/backend/ops/adaptive_max_pool.cpp @@ -4,8 +4,8 @@ // clang-format off #include "evaluate_node.hpp" -#include "ngraph/runtime/reference/adaptive_avg_pool.hpp" -#include "ngraph/runtime/reference/adaptive_max_pool.hpp" +#include "openvino/reference/adaptive_avg_pool.hpp" +#include "openvino/reference/adaptive_max_pool.hpp" // clang-format on template diff --git a/src/plugins/template/backend/ops/avg_pool.cpp b/src/plugins/template/backend/ops/avg_pool.cpp index 82a21966866..3fa7191a812 100644 --- a/src/plugins/template/backend/ops/avg_pool.cpp +++ b/src/plugins/template/backend/ops/avg_pool.cpp @@ -2,7 +2,7 @@ // SPDX-License-Identifier: Apache-2.0 // -#include "ngraph/runtime/reference/avg_pool.hpp" +#include "openvino/reference/avg_pool.hpp" #include "evaluate_node.hpp" diff --git a/src/plugins/template/backend/ops/batch_norm.cpp b/src/plugins/template/backend/ops/batch_norm.cpp index f498a717e0f..50e977ab5fe 100644 --- a/src/plugins/template/backend/ops/batch_norm.cpp +++ b/src/plugins/template/backend/ops/batch_norm.cpp @@ -2,7 +2,7 @@ // SPDX-License-Identifier: Apache-2.0 // -#include "ngraph/runtime/reference/batch_norm.hpp" +#include "openvino/reference/batch_norm.hpp" #include "evaluate_node.hpp" diff --git a/src/plugins/template/backend/ops/binary_convolution.cpp b/src/plugins/template/backend/ops/binary_convolution.cpp index 5a5539d1de0..2ba068811fd 100644 --- a/src/plugins/template/backend/ops/binary_convolution.cpp +++ b/src/plugins/template/backend/ops/binary_convolution.cpp @@ -2,7 +2,7 @@ // SPDX-License-Identifier: Apache-2.0 // -#include "ngraph/runtime/reference/binary_convolution.hpp" +#include "openvino/reference/binary_convolution.hpp" #include "evaluate_node.hpp" diff --git a/src/plugins/template/backend/ops/bucketize.cpp b/src/plugins/template/backend/ops/bucketize.cpp index c0ba7a1237f..5252540d52e 100644 --- a/src/plugins/template/backend/ops/bucketize.cpp +++ b/src/plugins/template/backend/ops/bucketize.cpp @@ -2,7 +2,7 @@ // SPDX-License-Identifier: Apache-2.0 // -#include "ngraph/runtime/reference/bucketize.hpp" +#include "openvino/reference/bucketize.hpp" #include "evaluate_node.hpp" diff --git a/src/plugins/template/backend/ops/ceiling.cpp b/src/plugins/template/backend/ops/ceiling.cpp index 09477f69890..0328d26a294 100644 --- a/src/plugins/template/backend/ops/ceiling.cpp +++ b/src/plugins/template/backend/ops/ceiling.cpp @@ -2,7 +2,7 @@ // SPDX-License-Identifier: Apache-2.0 // -#include "ngraph/runtime/reference/ceiling.hpp" +#include "openvino/reference/ceiling.hpp" #include "evaluate_node.hpp" diff --git a/src/plugins/template/backend/ops/convert.cpp b/src/plugins/template/backend/ops/convert.cpp index c6d277198b2..23ed105059a 100644 --- a/src/plugins/template/backend/ops/convert.cpp +++ b/src/plugins/template/backend/ops/convert.cpp @@ -2,7 +2,7 @@ // SPDX-License-Identifier: Apache-2.0 // -#include "ngraph/runtime/reference/convert.hpp" +#include "openvino/reference/convert.hpp" #include "evaluate_node.hpp" diff --git a/src/plugins/template/backend/ops/convert_color_nv12.cpp b/src/plugins/template/backend/ops/convert_color_nv12.cpp index 3a523a61bde..0f925696644 100644 --- a/src/plugins/template/backend/ops/convert_color_nv12.cpp +++ b/src/plugins/template/backend/ops/convert_color_nv12.cpp @@ -2,7 +2,7 @@ // SPDX-License-Identifier: Apache-2.0 // -#include "ngraph/runtime/reference/convert_color_nv12.hpp" +#include "openvino/reference/convert_color_nv12.hpp" #include "evaluate_node.hpp" diff --git a/src/plugins/template/backend/ops/convolution.cpp b/src/plugins/template/backend/ops/convolution.cpp index e526717bee7..a8108354061 100644 --- a/src/plugins/template/backend/ops/convolution.cpp +++ b/src/plugins/template/backend/ops/convolution.cpp @@ -2,7 +2,7 @@ // SPDX-License-Identifier: Apache-2.0 // -#include "ngraph/runtime/reference/convolution.hpp" +#include "openvino/reference/convolution.hpp" #include "evaluate_node.hpp" diff --git a/src/plugins/template/backend/ops/convolution_backprop_data.cpp b/src/plugins/template/backend/ops/convolution_backprop_data.cpp index 2c0cd812c42..0be67743941 100644 --- a/src/plugins/template/backend/ops/convolution_backprop_data.cpp +++ b/src/plugins/template/backend/ops/convolution_backprop_data.cpp @@ -2,7 +2,7 @@ // SPDX-License-Identifier: Apache-2.0 // -#include "ngraph/runtime/reference/convolution_backprop_data.hpp" +#include "openvino/reference/convolution_backprop_data.hpp" #include "evaluate_node.hpp" diff --git a/src/plugins/template/backend/ops/ctc_greedy_decoder.cpp b/src/plugins/template/backend/ops/ctc_greedy_decoder.cpp index 3c6ed1228f5..22e802f1b69 100644 --- a/src/plugins/template/backend/ops/ctc_greedy_decoder.cpp +++ b/src/plugins/template/backend/ops/ctc_greedy_decoder.cpp @@ -2,7 +2,7 @@ // SPDX-License-Identifier: Apache-2.0 // -#include "ngraph/runtime/reference/ctc_greedy_decoder.hpp" +#include "openvino/reference/ctc_greedy_decoder.hpp" #include "evaluate_node.hpp" diff --git a/src/plugins/template/backend/ops/ctc_greedy_decoder_seq_len.cpp b/src/plugins/template/backend/ops/ctc_greedy_decoder_seq_len.cpp index 888779b6683..cc876cba2b1 100644 --- a/src/plugins/template/backend/ops/ctc_greedy_decoder_seq_len.cpp +++ b/src/plugins/template/backend/ops/ctc_greedy_decoder_seq_len.cpp @@ -2,7 +2,7 @@ // SPDX-License-Identifier: Apache-2.0 // -#include "ngraph/runtime/reference/ctc_greedy_decoder_seq_len.hpp" +#include "openvino/reference/ctc_greedy_decoder_seq_len.hpp" #include "evaluate_node.hpp" diff --git a/src/plugins/template/backend/ops/ctc_loss.cpp b/src/plugins/template/backend/ops/ctc_loss.cpp index 904bf49b88c..37ac857486e 100644 --- a/src/plugins/template/backend/ops/ctc_loss.cpp +++ b/src/plugins/template/backend/ops/ctc_loss.cpp @@ -4,7 +4,7 @@ // clang-format off #include "evaluate_node.hpp" -#include "ngraph/runtime/reference/ctc_loss.hpp" +#include "openvino/reference/ctc_loss.hpp" // clang-format on namespace ctc_loss_v4 { diff --git a/src/plugins/template/backend/ops/cum_sum.cpp b/src/plugins/template/backend/ops/cum_sum.cpp index 73566bdf012..87fabe4c222 100644 --- a/src/plugins/template/backend/ops/cum_sum.cpp +++ b/src/plugins/template/backend/ops/cum_sum.cpp @@ -4,7 +4,7 @@ // clang-format off #include "evaluate_node.hpp" -#include "ngraph/runtime/reference/cum_sum.hpp" +#include "openvino/reference/cum_sum.hpp" // clang-format on namespace cum_sum_v0 { diff --git a/src/plugins/template/backend/ops/deformable_convolution.cpp b/src/plugins/template/backend/ops/deformable_convolution.cpp index d4ad5fdf9ce..2ba9f60ae29 100644 --- a/src/plugins/template/backend/ops/deformable_convolution.cpp +++ b/src/plugins/template/backend/ops/deformable_convolution.cpp @@ -2,7 +2,7 @@ // SPDX-License-Identifier: Apache-2.0 // -#include "ngraph/runtime/reference/deformable_convolution.hpp" +#include "openvino/reference/deformable_convolution.hpp" #include "evaluate_node.hpp" diff --git a/src/plugins/template/backend/ops/deformable_psroi_pooling.cpp b/src/plugins/template/backend/ops/deformable_psroi_pooling.cpp index 689e49c3738..e2e4d0e1ec5 100644 --- a/src/plugins/template/backend/ops/deformable_psroi_pooling.cpp +++ b/src/plugins/template/backend/ops/deformable_psroi_pooling.cpp @@ -2,7 +2,7 @@ // SPDX-License-Identifier: Apache-2.0 // -#include "ngraph/runtime/reference/deformable_psroi_pooling.hpp" +#include "openvino/reference/deformable_psroi_pooling.hpp" #include "evaluate_node.hpp" diff --git a/src/plugins/template/backend/ops/detection_output.cpp b/src/plugins/template/backend/ops/detection_output.cpp index 5d27547003a..b3ed8745367 100644 --- a/src/plugins/template/backend/ops/detection_output.cpp +++ b/src/plugins/template/backend/ops/detection_output.cpp @@ -2,7 +2,7 @@ // SPDX-License-Identifier: Apache-2.0 // -#include "ngraph/runtime/reference/detection_output.hpp" +#include "openvino/reference/detection_output.hpp" #include "evaluate_node.hpp" diff --git a/src/plugins/template/backend/ops/einsum.cpp b/src/plugins/template/backend/ops/einsum.cpp index b869d67e606..7eef0390980 100644 --- a/src/plugins/template/backend/ops/einsum.cpp +++ b/src/plugins/template/backend/ops/einsum.cpp @@ -2,7 +2,7 @@ // SPDX-License-Identifier: Apache-2.0 // -#include "ngraph/runtime/reference/einsum.hpp" +#include "openvino/reference/einsum.hpp" #include "evaluate_node.hpp" diff --git a/src/plugins/template/backend/ops/elu.cpp b/src/plugins/template/backend/ops/elu.cpp index 60a2360522a..dcda6cb1374 100644 --- a/src/plugins/template/backend/ops/elu.cpp +++ b/src/plugins/template/backend/ops/elu.cpp @@ -2,7 +2,7 @@ // SPDX-License-Identifier: Apache-2.0 // -#include "ngraph/runtime/reference/elu.hpp" +#include "openvino/reference/elu.hpp" #include "evaluate_node.hpp" diff --git a/src/plugins/template/backend/ops/embedding_bag_offsets_sum.cpp b/src/plugins/template/backend/ops/embedding_bag_offsets_sum.cpp index b947afe3567..a16c2134d17 100644 --- a/src/plugins/template/backend/ops/embedding_bag_offsets_sum.cpp +++ b/src/plugins/template/backend/ops/embedding_bag_offsets_sum.cpp @@ -2,7 +2,7 @@ // SPDX-License-Identifier: Apache-2.0 // -#include "ngraph/runtime/reference/embedding_bag_offsets_sum.hpp" +#include "openvino/reference/embedding_bag_offsets_sum.hpp" #include "evaluate_node.hpp" diff --git a/src/plugins/template/backend/ops/embedding_bag_packed_sum.cpp b/src/plugins/template/backend/ops/embedding_bag_packed_sum.cpp index 85f4710aede..71b15ef42eb 100644 --- a/src/plugins/template/backend/ops/embedding_bag_packed_sum.cpp +++ b/src/plugins/template/backend/ops/embedding_bag_packed_sum.cpp @@ -4,7 +4,7 @@ // clang-format off #include "evaluate_node.hpp" -#include "ngraph/runtime/reference/embedding_bag_packed_sum.hpp" +#include "openvino/reference/embedding_bag_packed_sum.hpp" // clang-format on namespace embedding_bag_packed_sum_v3 { diff --git a/src/plugins/template/backend/ops/embedding_segments_sum.cpp b/src/plugins/template/backend/ops/embedding_segments_sum.cpp index b7c801fee26..6267897f8a5 100644 --- a/src/plugins/template/backend/ops/embedding_segments_sum.cpp +++ b/src/plugins/template/backend/ops/embedding_segments_sum.cpp @@ -2,7 +2,7 @@ // SPDX-License-Identifier: Apache-2.0 // -#include "ngraph/runtime/reference/embedding_segments_sum.hpp" +#include "openvino/reference/embedding_segments_sum.hpp" #include "evaluate_node.hpp" diff --git a/src/plugins/template/backend/ops/equal.cpp b/src/plugins/template/backend/ops/equal.cpp index 980ad3f4624..10f2cbe7de7 100644 --- a/src/plugins/template/backend/ops/equal.cpp +++ b/src/plugins/template/backend/ops/equal.cpp @@ -2,7 +2,7 @@ // SPDX-License-Identifier: Apache-2.0 // -#include "ngraph/runtime/reference/equal.hpp" +#include "openvino/reference/equal.hpp" #include "evaluate_node.hpp" diff --git a/src/plugins/template/backend/ops/exp.cpp b/src/plugins/template/backend/ops/exp.cpp index 6a902a490a8..05fc2f56e17 100644 --- a/src/plugins/template/backend/ops/exp.cpp +++ b/src/plugins/template/backend/ops/exp.cpp @@ -2,7 +2,7 @@ // SPDX-License-Identifier: Apache-2.0 // -#include "ngraph/runtime/reference/exp.hpp" +#include "openvino/reference/exp.hpp" #include "evaluate_node.hpp" diff --git a/src/plugins/template/backend/ops/experimental_detectron_detection_output.cpp b/src/plugins/template/backend/ops/experimental_detectron_detection_output.cpp index 4ddbe6f196e..6657926577a 100644 --- a/src/plugins/template/backend/ops/experimental_detectron_detection_output.cpp +++ b/src/plugins/template/backend/ops/experimental_detectron_detection_output.cpp @@ -2,7 +2,7 @@ // SPDX-License-Identifier: Apache-2.0 // -#include "ngraph/runtime/reference/experimental_detectron_detection_output.hpp" +#include "openvino/reference/experimental_detectron_detection_output.hpp" #include "evaluate_node.hpp" #include "evaluates_map.hpp" diff --git a/src/plugins/template/backend/ops/experimental_detectron_prior_grid_generator.cpp b/src/plugins/template/backend/ops/experimental_detectron_prior_grid_generator.cpp index 71e30d0fb27..1c6e7ebf3bf 100644 --- a/src/plugins/template/backend/ops/experimental_detectron_prior_grid_generator.cpp +++ b/src/plugins/template/backend/ops/experimental_detectron_prior_grid_generator.cpp @@ -2,7 +2,7 @@ // SPDX-License-Identifier: Apache-2.0 // -#include "ngraph/runtime/reference/experimental_detectron_prior_grid_generator.hpp" +#include "openvino/reference/experimental_detectron_prior_grid_generator.hpp" #include "evaluate_node.hpp" diff --git a/src/plugins/template/backend/ops/experimental_detectron_proposal_single_image.cpp b/src/plugins/template/backend/ops/experimental_detectron_proposal_single_image.cpp index c8796bd46b6..e5608fc289c 100644 --- a/src/plugins/template/backend/ops/experimental_detectron_proposal_single_image.cpp +++ b/src/plugins/template/backend/ops/experimental_detectron_proposal_single_image.cpp @@ -2,7 +2,7 @@ // SPDX-License-Identifier: Apache-2.0 // -#include "ngraph/runtime/reference/experimental_detectron_proposal_single_image.hpp" +#include "openvino/reference/experimental_detectron_proposal_single_image.hpp" #include "evaluate_node.hpp" #include "evaluates_map.hpp" diff --git a/src/plugins/template/backend/ops/experimental_detectron_roi_feature_extractor.cpp b/src/plugins/template/backend/ops/experimental_detectron_roi_feature_extractor.cpp index d8b8ad31ac1..7db3d3a6231 100644 --- a/src/plugins/template/backend/ops/experimental_detectron_roi_feature_extractor.cpp +++ b/src/plugins/template/backend/ops/experimental_detectron_roi_feature_extractor.cpp @@ -5,7 +5,7 @@ // clang-format off #include "evaluates_map.hpp" #include "evaluate_node.hpp" -#include "ngraph/runtime/reference/experimental_detectron_roi_feature_extractor.hpp" +#include "openvino/reference/experimental_detectron_roi_feature_extractor.hpp" // clang-format on namespace experimental_roi_feature { diff --git a/src/plugins/template/backend/ops/experimental_detectron_topk_rois.cpp b/src/plugins/template/backend/ops/experimental_detectron_topk_rois.cpp index ed745e7afed..e33c631cf2e 100644 --- a/src/plugins/template/backend/ops/experimental_detectron_topk_rois.cpp +++ b/src/plugins/template/backend/ops/experimental_detectron_topk_rois.cpp @@ -2,7 +2,7 @@ // SPDX-License-Identifier: Apache-2.0 // -#include "ngraph/runtime/reference/experimental_detectron_topk_rois.hpp" +#include "openvino/reference/experimental_detectron_topk_rois.hpp" #include "evaluate_node.hpp" diff --git a/src/plugins/template/backend/ops/extract_image_patches.cpp b/src/plugins/template/backend/ops/extract_image_patches.cpp index cb237c394b9..a4e43db96da 100644 --- a/src/plugins/template/backend/ops/extract_image_patches.cpp +++ b/src/plugins/template/backend/ops/extract_image_patches.cpp @@ -2,7 +2,7 @@ // SPDX-License-Identifier: Apache-2.0 // -#include "ngraph/runtime/reference/extract_image_patches.hpp" +#include "openvino/reference/extract_image_patches.hpp" #include "evaluate_node.hpp" diff --git a/src/plugins/template/backend/ops/fft.cpp b/src/plugins/template/backend/ops/fft.cpp index 8fdbb1aea35..1b920b42497 100644 --- a/src/plugins/template/backend/ops/fft.cpp +++ b/src/plugins/template/backend/ops/fft.cpp @@ -2,7 +2,7 @@ // SPDX-License-Identifier: Apache-2.0 // -#include "ngraph/runtime/reference/fft.hpp" +#include "openvino/reference/fft.hpp" #include "evaluate_node.hpp" #include "evaluates_map.hpp" diff --git a/src/plugins/template/backend/ops/gather.cpp b/src/plugins/template/backend/ops/gather.cpp index 8d1cfa16a77..ee209f2b745 100644 --- a/src/plugins/template/backend/ops/gather.cpp +++ b/src/plugins/template/backend/ops/gather.cpp @@ -2,7 +2,7 @@ // SPDX-License-Identifier: Apache-2.0 // -#include "ngraph/runtime/reference/gather.hpp" +#include "openvino/reference/gather.hpp" #include "evaluate_node.hpp" diff --git a/src/plugins/template/backend/ops/gather_elements.cpp b/src/plugins/template/backend/ops/gather_elements.cpp index c1a51f4addb..b0ef056d57a 100644 --- a/src/plugins/template/backend/ops/gather_elements.cpp +++ b/src/plugins/template/backend/ops/gather_elements.cpp @@ -2,7 +2,7 @@ // SPDX-License-Identifier: Apache-2.0 // -#include "ngraph/runtime/reference/gather_elements.hpp" +#include "openvino/reference/gather_elements.hpp" #include "evaluate_node.hpp" diff --git a/src/plugins/template/backend/ops/gather_nd.cpp b/src/plugins/template/backend/ops/gather_nd.cpp index 53a3e85c70a..2cb22deec74 100644 --- a/src/plugins/template/backend/ops/gather_nd.cpp +++ b/src/plugins/template/backend/ops/gather_nd.cpp @@ -2,7 +2,7 @@ // SPDX-License-Identifier: Apache-2.0 // -#include "ngraph/runtime/reference/gather_nd.hpp" +#include "openvino/reference/gather_nd.hpp" #include "evaluate_node.hpp" diff --git a/src/plugins/template/backend/ops/gather_tree.cpp b/src/plugins/template/backend/ops/gather_tree.cpp index b4244ca4d4c..ee09ea58db6 100644 --- a/src/plugins/template/backend/ops/gather_tree.cpp +++ b/src/plugins/template/backend/ops/gather_tree.cpp @@ -2,7 +2,7 @@ // SPDX-License-Identifier: Apache-2.0 // -#include "ngraph/runtime/reference/gather_tree.hpp" +#include "openvino/reference/gather_tree.hpp" #include "evaluate_node.hpp" diff --git a/src/plugins/template/backend/ops/gelu.cpp b/src/plugins/template/backend/ops/gelu.cpp index 86eee2411f7..04c59206fdc 100644 --- a/src/plugins/template/backend/ops/gelu.cpp +++ b/src/plugins/template/backend/ops/gelu.cpp @@ -2,7 +2,7 @@ // SPDX-License-Identifier: Apache-2.0 // -#include "ngraph/runtime/reference/gelu.hpp" +#include "openvino/reference/gelu.hpp" #include "evaluate_node.hpp" diff --git a/src/plugins/template/backend/ops/generate_proposal.cpp b/src/plugins/template/backend/ops/generate_proposal.cpp index a29a5ada513..811463f2e66 100644 --- a/src/plugins/template/backend/ops/generate_proposal.cpp +++ b/src/plugins/template/backend/ops/generate_proposal.cpp @@ -2,7 +2,7 @@ // SPDX-License-Identifier: Apache-2.0 // -#include "ngraph/runtime/reference/generate_proposal.hpp" +#include "openvino/reference/generate_proposal.hpp" #include "evaluate_node.hpp" #include "evaluates_map.hpp" diff --git a/src/plugins/template/backend/ops/greater.cpp b/src/plugins/template/backend/ops/greater.cpp index 24598fec81d..c20db3d024d 100644 --- a/src/plugins/template/backend/ops/greater.cpp +++ b/src/plugins/template/backend/ops/greater.cpp @@ -2,7 +2,7 @@ // SPDX-License-Identifier: Apache-2.0 // -#include "ngraph/runtime/reference/greater.hpp" +#include "openvino/reference/greater.hpp" #include "evaluate_node.hpp" diff --git a/src/plugins/template/backend/ops/grid_sample.cpp b/src/plugins/template/backend/ops/grid_sample.cpp index 6b02f1b6769..bd84b0aac83 100644 --- a/src/plugins/template/backend/ops/grid_sample.cpp +++ b/src/plugins/template/backend/ops/grid_sample.cpp @@ -2,7 +2,7 @@ // SPDX-License-Identifier: Apache-2.0 // -#include "ngraph/runtime/reference/grid_sample.hpp" +#include "openvino/reference/grid_sample.hpp" #include "evaluate_node.hpp" diff --git a/src/plugins/template/backend/ops/grn.cpp b/src/plugins/template/backend/ops/grn.cpp index 3c4a912d0c6..2429752b68f 100644 --- a/src/plugins/template/backend/ops/grn.cpp +++ b/src/plugins/template/backend/ops/grn.cpp @@ -2,7 +2,7 @@ // SPDX-License-Identifier: Apache-2.0 // -#include "ngraph/runtime/reference/grn.hpp" +#include "openvino/reference/grn.hpp" #include "evaluate_node.hpp" diff --git a/src/plugins/template/backend/ops/group_convolution.cpp b/src/plugins/template/backend/ops/group_convolution.cpp index 468dbfc3b26..0993cf6816c 100644 --- a/src/plugins/template/backend/ops/group_convolution.cpp +++ b/src/plugins/template/backend/ops/group_convolution.cpp @@ -2,7 +2,7 @@ // SPDX-License-Identifier: Apache-2.0 // -#include "ngraph/runtime/reference/group_convolution.hpp" +#include "openvino/reference/group_convolution.hpp" #include "evaluate_node.hpp" diff --git a/src/plugins/template/backend/ops/group_convolution_backprop_data.cpp b/src/plugins/template/backend/ops/group_convolution_backprop_data.cpp index 87e04b1e81b..d09d219e389 100644 --- a/src/plugins/template/backend/ops/group_convolution_backprop_data.cpp +++ b/src/plugins/template/backend/ops/group_convolution_backprop_data.cpp @@ -2,7 +2,7 @@ // SPDX-License-Identifier: Apache-2.0 // -#include "ngraph/runtime/reference/group_convolution_backprop_data.hpp" +#include "openvino/reference/group_convolution_backprop_data.hpp" #include "evaluate_node.hpp" diff --git a/src/plugins/template/backend/ops/group_normalization.cpp b/src/plugins/template/backend/ops/group_normalization.cpp index 1421b9a291a..71481b560ac 100644 --- a/src/plugins/template/backend/ops/group_normalization.cpp +++ b/src/plugins/template/backend/ops/group_normalization.cpp @@ -2,7 +2,7 @@ // SPDX-License-Identifier: Apache-2.0 // -#include "ngraph/runtime/reference/group_normalization.hpp" +#include "openvino/reference/group_normalization.hpp" #include "evaluate_node.hpp" #include "openvino/op/group_normalization.hpp" diff --git a/src/plugins/template/backend/ops/gru_cell.cpp b/src/plugins/template/backend/ops/gru_cell.cpp index 3b21397ce5b..28579fbe807 100644 --- a/src/plugins/template/backend/ops/gru_cell.cpp +++ b/src/plugins/template/backend/ops/gru_cell.cpp @@ -2,7 +2,7 @@ // SPDX-License-Identifier: Apache-2.0 // -#include "ngraph/runtime/reference/gru_cell.hpp" +#include "openvino/reference/gru_cell.hpp" #include "evaluate_node.hpp" #include "ov_ops/augru_cell.hpp" diff --git a/src/plugins/template/backend/ops/hard_sigmoid.cpp b/src/plugins/template/backend/ops/hard_sigmoid.cpp index b0cbbb78742..8f238660502 100644 --- a/src/plugins/template/backend/ops/hard_sigmoid.cpp +++ b/src/plugins/template/backend/ops/hard_sigmoid.cpp @@ -4,7 +4,7 @@ // clang-format off #include "evaluate_node.hpp" -#include "ngraph/runtime/reference/hard_sigmoid.hpp" +#include "openvino/reference/hard_sigmoid.hpp" // clang-format on template diff --git a/src/plugins/template/backend/ops/if.cpp b/src/plugins/template/backend/ops/if.cpp index 432f2a5db95..07ad281f3e6 100644 --- a/src/plugins/template/backend/ops/if.cpp +++ b/src/plugins/template/backend/ops/if.cpp @@ -2,7 +2,7 @@ // SPDX-License-Identifier: Apache-2.0 // -#include "ngraph/runtime/reference/if.hpp" +#include "openvino/reference/if.hpp" #include "evaluate_node.hpp" #include "evaluates_map.hpp" diff --git a/src/plugins/template/backend/ops/interpolate.cpp b/src/plugins/template/backend/ops/interpolate.cpp index 2c0f1c38dd0..cbd1e71bc9d 100644 --- a/src/plugins/template/backend/ops/interpolate.cpp +++ b/src/plugins/template/backend/ops/interpolate.cpp @@ -2,7 +2,7 @@ // SPDX-License-Identifier: Apache-2.0 // -#include "ngraph/runtime/reference/interpolate.hpp" +#include "openvino/reference/interpolate.hpp" #include "evaluate_node.hpp" #include "interpolate_shape_inference.hpp" diff --git a/src/plugins/template/backend/ops/irdft.cpp b/src/plugins/template/backend/ops/irdft.cpp index e55af44664d..c46c74d6b99 100644 --- a/src/plugins/template/backend/ops/irdft.cpp +++ b/src/plugins/template/backend/ops/irdft.cpp @@ -2,11 +2,11 @@ // SPDX-License-Identifier: Apache-2.0 // -#include "ngraph/runtime/reference/irdft.hpp" +#include "openvino/reference/irdft.hpp" #include "evaluate_node.hpp" #include "evaluates_map.hpp" -#include "ngraph/runtime/reference/fft.hpp" +#include "openvino/reference/fft.hpp" namespace irfft_v9 { struct InfoForIRFFT9 { diff --git a/src/plugins/template/backend/ops/is_finite.cpp b/src/plugins/template/backend/ops/is_finite.cpp index 2bfe8e509fe..a8c5331a87a 100644 --- a/src/plugins/template/backend/ops/is_finite.cpp +++ b/src/plugins/template/backend/ops/is_finite.cpp @@ -4,7 +4,7 @@ // clang-format off #include "evaluate_node.hpp" -#include "ngraph/runtime/reference/is_finite.hpp" +#include "openvino/reference/is_finite.hpp" // clang-format on template diff --git a/src/plugins/template/backend/ops/is_inf.cpp b/src/plugins/template/backend/ops/is_inf.cpp index a76aa74111d..44556fb18dc 100644 --- a/src/plugins/template/backend/ops/is_inf.cpp +++ b/src/plugins/template/backend/ops/is_inf.cpp @@ -4,7 +4,7 @@ // clang-format off #include "evaluate_node.hpp" -#include "ngraph/runtime/reference/is_inf.hpp" +#include "openvino/reference/is_inf.hpp" // clang-format on template diff --git a/src/plugins/template/backend/ops/is_nan.cpp b/src/plugins/template/backend/ops/is_nan.cpp index adccf954d37..ab3f9b4fa51 100644 --- a/src/plugins/template/backend/ops/is_nan.cpp +++ b/src/plugins/template/backend/ops/is_nan.cpp @@ -4,7 +4,7 @@ // clang-format off #include "evaluate_node.hpp" -#include "ngraph/runtime/reference/is_nan.hpp" +#include "openvino/reference/is_nan.hpp" // clang-format on template diff --git a/src/plugins/template/backend/ops/log.cpp b/src/plugins/template/backend/ops/log.cpp index 05bcb0abf29..b3bd2a77ce5 100644 --- a/src/plugins/template/backend/ops/log.cpp +++ b/src/plugins/template/backend/ops/log.cpp @@ -2,7 +2,7 @@ // SPDX-License-Identifier: Apache-2.0 // -#include "ngraph/runtime/reference/log.hpp" +#include "openvino/reference/log.hpp" #include "evaluate_node.hpp" diff --git a/src/plugins/template/backend/ops/log_softmax.cpp b/src/plugins/template/backend/ops/log_softmax.cpp index 6daa9e2a6a2..93586209661 100644 --- a/src/plugins/template/backend/ops/log_softmax.cpp +++ b/src/plugins/template/backend/ops/log_softmax.cpp @@ -2,7 +2,7 @@ // SPDX-License-Identifier: Apache-2.0 // -#include "ngraph/runtime/reference/log_softmax.hpp" +#include "openvino/reference/log_softmax.hpp" #include "evaluate_node.hpp" diff --git a/src/plugins/template/backend/ops/lrn.cpp b/src/plugins/template/backend/ops/lrn.cpp index 7a9b1148ed7..82514f59a4f 100644 --- a/src/plugins/template/backend/ops/lrn.cpp +++ b/src/plugins/template/backend/ops/lrn.cpp @@ -2,7 +2,7 @@ // SPDX-License-Identifier: Apache-2.0 // -#include "ngraph/runtime/reference/lrn.hpp" +#include "openvino/reference/lrn.hpp" #include "evaluate_node.hpp" diff --git a/src/plugins/template/backend/ops/lstm_cell.cpp b/src/plugins/template/backend/ops/lstm_cell.cpp index b26b100eee1..7fc186ec8c2 100644 --- a/src/plugins/template/backend/ops/lstm_cell.cpp +++ b/src/plugins/template/backend/ops/lstm_cell.cpp @@ -4,7 +4,7 @@ // clang-format off #include "evaluate_node.hpp" -#include "ngraph/runtime/reference/lstm_cell.hpp" +#include "openvino/reference/lstm_cell.hpp" // clang-format on template diff --git a/src/plugins/template/backend/ops/matrix_nms.cpp b/src/plugins/template/backend/ops/matrix_nms.cpp index fb8c8abdfc7..8fcf4f9517d 100644 --- a/src/plugins/template/backend/ops/matrix_nms.cpp +++ b/src/plugins/template/backend/ops/matrix_nms.cpp @@ -2,11 +2,11 @@ // SPDX-License-Identifier: Apache-2.0 // -#include "ngraph/runtime/reference/matrix_nms.hpp" +#include "openvino/reference/matrix_nms.hpp" #include "evaluate_node.hpp" #include "evaluates_map.hpp" -#include "ngraph/runtime/reference/utils/nms_common.hpp" +#include "openvino/reference/utils/nms_common.hpp" namespace matrix_nms_v8 { using SortResultType = ngraph::op::v8::MatrixNms::SortResultType; diff --git a/src/plugins/template/backend/ops/mod.cpp b/src/plugins/template/backend/ops/mod.cpp index 4712e4a60d3..ab7cbbea291 100644 --- a/src/plugins/template/backend/ops/mod.cpp +++ b/src/plugins/template/backend/ops/mod.cpp @@ -2,7 +2,7 @@ // SPDX-License-Identifier: Apache-2.0 // -#include "ngraph/runtime/reference/mod.hpp" +#include "openvino/reference/mod.hpp" #include "evaluate_node.hpp" diff --git a/src/plugins/template/backend/ops/multiclass_nms.cpp b/src/plugins/template/backend/ops/multiclass_nms.cpp index 9367a8da3dc..3550a8a2a8c 100644 --- a/src/plugins/template/backend/ops/multiclass_nms.cpp +++ b/src/plugins/template/backend/ops/multiclass_nms.cpp @@ -2,12 +2,12 @@ // SPDX-License-Identifier: Apache-2.0 // -#include "ngraph/runtime/reference/multiclass_nms.hpp" +#include "openvino/reference/multiclass_nms.hpp" #include "evaluate_node.hpp" #include "evaluates_map.hpp" #include "multiclass_nms_shape_inference.hpp" -#include "ngraph/runtime/reference/utils/nms_common.hpp" +#include "openvino/reference/utils/nms_common.hpp" namespace multiclass_nms { using namespace ov; diff --git a/src/plugins/template/backend/ops/mvn.cpp b/src/plugins/template/backend/ops/mvn.cpp index 62928864fc1..cca797a58c8 100644 --- a/src/plugins/template/backend/ops/mvn.cpp +++ b/src/plugins/template/backend/ops/mvn.cpp @@ -2,7 +2,7 @@ // SPDX-License-Identifier: Apache-2.0 // -#include "ngraph/runtime/reference/mvn.hpp" +#include "openvino/reference/mvn.hpp" #include "evaluate_node.hpp" diff --git a/src/plugins/template/backend/ops/non_max_suppression.cpp b/src/plugins/template/backend/ops/non_max_suppression.cpp index 0923b0ff306..69fb75ab4b5 100644 --- a/src/plugins/template/backend/ops/non_max_suppression.cpp +++ b/src/plugins/template/backend/ops/non_max_suppression.cpp @@ -5,7 +5,7 @@ // clang-format off #include "evaluates_map.hpp" #include "evaluate_node.hpp" -#include "ngraph/runtime/reference/non_max_suppression.hpp" +#include "openvino/reference/non_max_suppression.hpp" // clang-format on namespace nms_v9 { diff --git a/src/plugins/template/backend/ops/normalize_l2.cpp b/src/plugins/template/backend/ops/normalize_l2.cpp index 17cacfa9f03..26358c3e3f1 100644 --- a/src/plugins/template/backend/ops/normalize_l2.cpp +++ b/src/plugins/template/backend/ops/normalize_l2.cpp @@ -2,7 +2,7 @@ // SPDX-License-Identifier: Apache-2.0 // -#include "ngraph/runtime/reference/normalize_l2.hpp" +#include "openvino/reference/normalize_l2.hpp" #include "evaluate_node.hpp" diff --git a/src/plugins/template/backend/ops/pad.cpp b/src/plugins/template/backend/ops/pad.cpp index 74270685584..db4ec0646b2 100644 --- a/src/plugins/template/backend/ops/pad.cpp +++ b/src/plugins/template/backend/ops/pad.cpp @@ -2,7 +2,7 @@ // SPDX-License-Identifier: Apache-2.0 // -#include "ngraph/runtime/reference/pad.hpp" +#include "openvino/reference/pad.hpp" #include "evaluate_node.hpp" diff --git a/src/plugins/template/backend/ops/prelu.cpp b/src/plugins/template/backend/ops/prelu.cpp index a5e615484df..5150950f15b 100644 --- a/src/plugins/template/backend/ops/prelu.cpp +++ b/src/plugins/template/backend/ops/prelu.cpp @@ -2,7 +2,7 @@ // SPDX-License-Identifier: Apache-2.0 // -#include "ngraph/runtime/reference/prelu.hpp" +#include "openvino/reference/prelu.hpp" #include "evaluate_node.hpp" diff --git a/src/plugins/template/backend/ops/proposal.cpp b/src/plugins/template/backend/ops/proposal.cpp index c802a250d75..ad5ad166a79 100644 --- a/src/plugins/template/backend/ops/proposal.cpp +++ b/src/plugins/template/backend/ops/proposal.cpp @@ -2,7 +2,7 @@ // SPDX-License-Identifier: Apache-2.0 // -#include "ngraph/runtime/reference/proposal.hpp" +#include "openvino/reference/proposal.hpp" #include "evaluate_node.hpp" diff --git a/src/plugins/template/backend/ops/psroi_pooling.cpp b/src/plugins/template/backend/ops/psroi_pooling.cpp index 2279c87f2c5..f048d188b13 100644 --- a/src/plugins/template/backend/ops/psroi_pooling.cpp +++ b/src/plugins/template/backend/ops/psroi_pooling.cpp @@ -2,7 +2,7 @@ // SPDX-License-Identifier: Apache-2.0 // -#include "ngraph/runtime/reference/psroi_pooling.hpp" +#include "openvino/reference/psroi_pooling.hpp" #include "evaluate_node.hpp" diff --git a/src/plugins/template/backend/ops/rdft.cpp b/src/plugins/template/backend/ops/rdft.cpp index f97c2e35dea..590e74e69f6 100644 --- a/src/plugins/template/backend/ops/rdft.cpp +++ b/src/plugins/template/backend/ops/rdft.cpp @@ -2,11 +2,11 @@ // SPDX-License-Identifier: Apache-2.0 // -#include "ngraph/runtime/reference/rdft.hpp" +#include "openvino/reference/rdft.hpp" #include "evaluate_node.hpp" #include "evaluates_map.hpp" -#include "ngraph/runtime/reference/fft.hpp" +#include "openvino/reference/fft.hpp" namespace rfft_v9 { struct InfoForRFFT9 { diff --git a/src/plugins/template/backend/ops/region_yolo.cpp b/src/plugins/template/backend/ops/region_yolo.cpp index eb6c0d62402..40a802fad04 100644 --- a/src/plugins/template/backend/ops/region_yolo.cpp +++ b/src/plugins/template/backend/ops/region_yolo.cpp @@ -2,7 +2,7 @@ // SPDX-License-Identifier: Apache-2.0 // -#include "ngraph/runtime/reference/region_yolo.hpp" +#include "openvino/reference/region_yolo.hpp" #include "evaluate_node.hpp" diff --git a/src/plugins/template/backend/ops/relu.cpp b/src/plugins/template/backend/ops/relu.cpp index af33162c06d..77a7bcd61df 100644 --- a/src/plugins/template/backend/ops/relu.cpp +++ b/src/plugins/template/backend/ops/relu.cpp @@ -2,7 +2,7 @@ // SPDX-License-Identifier: Apache-2.0 // -#include "ngraph/runtime/reference/relu.hpp" +#include "openvino/reference/relu.hpp" #include "evaluate_node.hpp" diff --git a/src/plugins/template/backend/ops/reorg_yolo.cpp b/src/plugins/template/backend/ops/reorg_yolo.cpp index bfe638204ed..a5a437d588d 100644 --- a/src/plugins/template/backend/ops/reorg_yolo.cpp +++ b/src/plugins/template/backend/ops/reorg_yolo.cpp @@ -2,7 +2,7 @@ // SPDX-License-Identifier: Apache-2.0 // -#include "ngraph/runtime/reference/reorg_yolo.hpp" +#include "openvino/reference/reorg_yolo.hpp" #include "evaluate_node.hpp" diff --git a/src/plugins/template/backend/ops/reverse_sequence.cpp b/src/plugins/template/backend/ops/reverse_sequence.cpp index ebcdae623b3..cf010611836 100644 --- a/src/plugins/template/backend/ops/reverse_sequence.cpp +++ b/src/plugins/template/backend/ops/reverse_sequence.cpp @@ -2,7 +2,7 @@ // SPDX-License-Identifier: Apache-2.0 // -#include "ngraph/runtime/reference/reverse_sequence.hpp" +#include "openvino/reference/reverse_sequence.hpp" #include "evaluate_node.hpp" diff --git a/src/plugins/template/backend/ops/rnn_cell.cpp b/src/plugins/template/backend/ops/rnn_cell.cpp index 86d80329dbb..f216c15e32b 100644 --- a/src/plugins/template/backend/ops/rnn_cell.cpp +++ b/src/plugins/template/backend/ops/rnn_cell.cpp @@ -2,7 +2,7 @@ // SPDX-License-Identifier: Apache-2.0 // -#include "ngraph/runtime/reference/rnn_cell.hpp" +#include "openvino/reference/rnn_cell.hpp" #include "evaluate_node.hpp" diff --git a/src/plugins/template/backend/ops/roi_align.cpp b/src/plugins/template/backend/ops/roi_align.cpp index b3947c00911..09793b3d254 100644 --- a/src/plugins/template/backend/ops/roi_align.cpp +++ b/src/plugins/template/backend/ops/roi_align.cpp @@ -2,7 +2,7 @@ // SPDX-License-Identifier: Apache-2.0 // -#include "ngraph/runtime/reference/roi_align.hpp" +#include "openvino/reference/roi_align.hpp" #include "evaluate_node.hpp" diff --git a/src/plugins/template/backend/ops/roi_pooling.cpp b/src/plugins/template/backend/ops/roi_pooling.cpp index 3631d6565db..5c483dc2069 100644 --- a/src/plugins/template/backend/ops/roi_pooling.cpp +++ b/src/plugins/template/backend/ops/roi_pooling.cpp @@ -4,7 +4,7 @@ // clang-format off #include "evaluate_node.hpp" -#include "ngraph/runtime/reference/roi_pooling.hpp" +#include "openvino/reference/roi_pooling.hpp" // clang-format on template diff --git a/src/plugins/template/backend/ops/roll.cpp b/src/plugins/template/backend/ops/roll.cpp index 40eef65c8cc..8d1755aefa7 100644 --- a/src/plugins/template/backend/ops/roll.cpp +++ b/src/plugins/template/backend/ops/roll.cpp @@ -2,7 +2,7 @@ // SPDX-License-Identifier: Apache-2.0 // -#include "ngraph/runtime/reference/roll.hpp" +#include "openvino/reference/roll.hpp" #include "evaluate_node.hpp" diff --git a/src/plugins/template/backend/ops/scatter_nd_update.cpp b/src/plugins/template/backend/ops/scatter_nd_update.cpp index c412e2d119b..ea347de5d6d 100644 --- a/src/plugins/template/backend/ops/scatter_nd_update.cpp +++ b/src/plugins/template/backend/ops/scatter_nd_update.cpp @@ -2,7 +2,7 @@ // SPDX-License-Identifier: Apache-2.0 // -#include "ngraph/runtime/reference/scatter_nd_update.hpp" +#include "openvino/reference/scatter_nd_update.hpp" #include "evaluate_node.hpp" diff --git a/src/plugins/template/backend/ops/selu.cpp b/src/plugins/template/backend/ops/selu.cpp index 32749566392..888e056f130 100644 --- a/src/plugins/template/backend/ops/selu.cpp +++ b/src/plugins/template/backend/ops/selu.cpp @@ -2,7 +2,7 @@ // SPDX-License-Identifier: Apache-2.0 // -#include "ngraph/runtime/reference/selu.hpp" +#include "openvino/reference/selu.hpp" #include "evaluate_node.hpp" diff --git a/src/plugins/template/backend/ops/sequences.cpp b/src/plugins/template/backend/ops/sequences.cpp index d9e2499e669..5ea629ad250 100644 --- a/src/plugins/template/backend/ops/sequences.cpp +++ b/src/plugins/template/backend/ops/sequences.cpp @@ -5,7 +5,7 @@ // clang-format off #include "evaluate_node.hpp" #include "ov_ops/augru_sequence.hpp" -#include "ngraph/runtime/reference/sequences.hpp" +#include "openvino/reference/sequences.hpp" // clang-format on namespace rnn_seq_v5 { diff --git a/src/plugins/template/backend/ops/sigmoid.cpp b/src/plugins/template/backend/ops/sigmoid.cpp index 81ee4c65562..3cf5b9482f7 100644 --- a/src/plugins/template/backend/ops/sigmoid.cpp +++ b/src/plugins/template/backend/ops/sigmoid.cpp @@ -2,7 +2,7 @@ // SPDX-License-Identifier: Apache-2.0 // -#include "ngraph/runtime/reference/sigmoid.hpp" +#include "openvino/reference/sigmoid.hpp" #include "evaluate_node.hpp" diff --git a/src/plugins/template/backend/ops/sign.cpp b/src/plugins/template/backend/ops/sign.cpp index 28b94df0d1a..c8e1d9666ae 100644 --- a/src/plugins/template/backend/ops/sign.cpp +++ b/src/plugins/template/backend/ops/sign.cpp @@ -2,7 +2,7 @@ // SPDX-License-Identifier: Apache-2.0 // -#include "ngraph/runtime/reference/sign.hpp" +#include "openvino/reference/sign.hpp" #include "evaluate_node.hpp" diff --git a/src/plugins/template/backend/ops/softsign.cpp b/src/plugins/template/backend/ops/softsign.cpp index cdd1fff6768..5febcbf09c2 100644 --- a/src/plugins/template/backend/ops/softsign.cpp +++ b/src/plugins/template/backend/ops/softsign.cpp @@ -2,7 +2,7 @@ // SPDX-License-Identifier: Apache-2.0 // -#include "ngraph/runtime/reference/softsign.hpp" +#include "openvino/reference/softsign.hpp" #include "evaluate_node.hpp" diff --git a/src/plugins/template/backend/ops/squared_difference.cpp b/src/plugins/template/backend/ops/squared_difference.cpp index d2749cbe56d..2eda9be7d1d 100644 --- a/src/plugins/template/backend/ops/squared_difference.cpp +++ b/src/plugins/template/backend/ops/squared_difference.cpp @@ -2,7 +2,7 @@ // SPDX-License-Identifier: Apache-2.0 // -#include "ngraph/runtime/reference/squared_difference.hpp" +#include "openvino/reference/squared_difference.hpp" #include "evaluate_node.hpp" diff --git a/src/plugins/template/backend/ops/tanh.cpp b/src/plugins/template/backend/ops/tanh.cpp index 3d4c654cc8d..ac3c60840a9 100644 --- a/src/plugins/template/backend/ops/tanh.cpp +++ b/src/plugins/template/backend/ops/tanh.cpp @@ -4,7 +4,7 @@ // clang-format off #include "evaluate_node.hpp" -#include "ngraph/runtime/reference/tanh.hpp" +#include "openvino/reference/tanh.hpp" // clang-format on template diff --git a/src/plugins/template/backend/ops/tensor_iterator.cpp b/src/plugins/template/backend/ops/tensor_iterator.cpp index b3c557a1114..118804ce8d0 100644 --- a/src/plugins/template/backend/ops/tensor_iterator.cpp +++ b/src/plugins/template/backend/ops/tensor_iterator.cpp @@ -2,7 +2,7 @@ // SPDX-License-Identifier: Apache-2.0 // -#include "ngraph/runtime/reference/tensor_iterator.hpp" +#include "openvino/reference/tensor_iterator.hpp" #include "backend.hpp" #include "evaluate_node.hpp" diff --git a/src/plugins/template/backend/ops/unique.cpp b/src/plugins/template/backend/ops/unique.cpp index 9f9c0efd8ca..6732fac4032 100644 --- a/src/plugins/template/backend/ops/unique.cpp +++ b/src/plugins/template/backend/ops/unique.cpp @@ -2,7 +2,7 @@ // SPDX-License-Identifier: Apache-2.0 // -#include "ngraph/runtime/reference/unique.hpp" +#include "openvino/reference/unique.hpp" #include "evaluate_node.hpp"