Publishing 2019 R3 content
[platform/upstream/dldt.git] / inference-engine / thirdparty / clDNN / api / crop.hpp
@@ -16,7 +16,6 @@
 
 ///////////////////////////////////////////////////////////////////////////////////////////////////
 #pragma once
-#include "../C/crop.h"
 #include "primitive.hpp"
 
 namespace cldnn {
@@ -59,7 +58,7 @@ constexpr auto crop_borders = crop_borders_t{};
 /// @n - Sum of sizes of opposite borders must be lower than input size (on all non-ignored dimensions).
 /// @n
 /// @n Breaking any of this conditions will cause exception throw.
-struct crop : public primitive_base<crop, CLDNN_PRIMITIVE_DESC(crop)> {
+struct crop : public primitive_base<crop> {
     CLDNN_DECLARE_PRIMITIVE(crop)
 
     /// @brief Constructs crop primitive.
@@ -111,19 +110,10 @@ struct crop : public primitive_base<crop, CLDNN_PRIMITIVE_DESC(crop)> {
          const padding& output_padding = padding())
         : primitive_base(id, {input}, output_padding), reference_input(xy_borders.negate()), offsets(xy_borders) {}
 
-    /// @brief Constructs a copy from C API @CLDNN_PRIMITIVE_DESC{crop}
-    crop(const dto* dto) : primitive_base(dto), reference_input(dto->reference_input), offsets(dto->offsets) {}
-
     /// @brief Reference input tensor with the required dimensions.
     tensor reference_input;
     /// @brief Input offsets.
     tensor offsets;
-
-protected:
-    void update_dto(dto& dto) const override {
-        dto.reference_input = reference_input;
-        dto.offsets = offsets;
-    }
 };
 /// @}
 /// @}