Publishing 2019 R3 content
[platform/upstream/dldt.git] / inference-engine / thirdparty / clDNN / api / embed.hpp
@@ -16,7 +16,6 @@
 
 ///////////////////////////////////////////////////////////////////////////////////////////////////
 #pragma once
-#include "../C/embed.h"
 #include "primitive.hpp"
 #include <vector>
 
@@ -36,7 +35,7 @@ namespace cldnn {
 /// @n output_size = { 8, 75, 15, 1 };
 /// @par Algorithm:
 /// @par Where:
-struct embed : public primitive_base<embed, CLDNN_PRIMITIVE_DESC(embed)> {
+struct embed : public primitive_base<embed> {
     CLDNN_DECLARE_PRIMITIVE(embed)
 
     /// @brief Constructs embed primitive.
@@ -60,11 +59,6 @@ struct embed : public primitive_base<embed, CLDNN_PRIMITIVE_DESC(embed)> {
         const primitive_id& weights)
         : primitive_base(id, {input}), weights(weights), bias("") {}
 
-    /// @brief Constructs a copy from C API @CLDNN_PRIMITIVE_DESC{embed}
-    embed(const dto* dto)
-        : primitive_base(dto), weights(dto->weights), bias(dto->bias) {
-    }
-
     /// @brief Primitive id containing weights data.
     primitive_id weights;
     /// @brief Primitive id containing bias data.
@@ -77,14 +71,9 @@ protected:
         else
             return {weights, bias};
     }
-
-    void update_dto(dto& dto) const override {
-        dto.weights = weights.c_str();
-        dto.bias = bias.c_str();
-    }
 };
 /// @}
 /// @}
 /// @}
 }  // namespace cldnn
-#pragma once
\ No newline at end of file
+#pragma once