Publishing 2019 R3 content
[platform/upstream/dldt.git] / inference-engine / thirdparty / clDNN / api / fully_connected_grad_input.hpp
@@ -16,7 +16,6 @@
 
 ///////////////////////////////////////////////////////////////////////////////////////////////////
 #pragma once
-#include "../C/fully_connected_grad_input.h"
 #include "primitive.hpp"
 #include <vector>
 
@@ -29,8 +28,7 @@ namespace cldnn {
 /// @{
 
 /// @brief Performs backward fully connected layer (inner product) for input.
-
-struct fully_connected_grad_input : public primitive_base<fully_connected_grad_input, CLDNN_PRIMITIVE_DESC(fully_connected_grad_input)> {
+struct fully_connected_grad_input : public primitive_base<fully_connected_grad_input> {
     CLDNN_DECLARE_PRIMITIVE(fully_connected_grad_input)
 
     /// @brief Constructs fully connected layer grad for input.
@@ -47,11 +45,6 @@ struct fully_connected_grad_input : public primitive_base<fully_connected_grad_i
         : primitive_base(id, {input_grad, input}, output_padding), weights(weights) {
     }
 
-    /// @brief Constructs a copy from basic C API @CLDNN_PRIMITIVE_DESC{fully_connected_grad_input}
-    fully_connected_grad_input(const dto* dto)
-        : primitive_base(dto), weights(dto->weights) {
-    }
-
     /// @brief Primitive id containing weights data.
     primitive_id weights;
 
@@ -59,12 +52,8 @@ protected:
     std::vector<std::reference_wrapper<const primitive_id>> get_dependencies() const override {
         return {weights};
     }
-
-    void update_dto(dto& dto) const override {
-        dto.weights = weights.c_str();
-    }
 };
 /// @}
 /// @}
 /// @}
-}  // namespace cldnn
\ No newline at end of file
+}  // namespace cldnn