-// Copyright (C) 2018 Intel Corporation
+// Copyright (C) 2018-2019 Intel Corporation
// SPDX-License-Identifier: Apache-2.0
//
#pragma once
-#include <builders/ie_layer_fragment.hpp>
-#include <ie_inetwork.hpp>
+#include <builders/ie_layer_decorator.hpp>
+#include <ie_network.hpp>
#include <string>
namespace InferenceEngine {
/**
* @brief The class represents a builder for FullyConnected layer
*/
-class INFERENCE_ENGINE_API_CLASS(FullyConnectedLayer): public LayerFragment {
+class INFERENCE_ENGINE_API_CLASS(FullyConnectedLayer): public LayerDecorator {
public:
/**
* @brief The constructor creates a builder with the name
explicit FullyConnectedLayer(const std::string& name = "");
/**
* @brief The constructor creates a builder from generic builder
- * @param genLayer generic builder
+ * @param layer pointer to generic builder
*/
- explicit FullyConnectedLayer(Layer& genLayer);
+ explicit FullyConnectedLayer(const Layer::Ptr& layer);
+ /**
+ * @brief The constructor creates a builder from generic builder
+ * @param layer constant pointer to generic builder
+ */
+ explicit FullyConnectedLayer(const Layer::CPtr& layer);
/**
* @brief Sets the name for the layer
* @param name Layer name
FullyConnectedLayer& setName(const std::string& name);
/**
- * @brief Sets weights for layer
- * @param weights Constant blob with weights
- * @return reference to layer builder
- */
- FullyConnectedLayer& setWeights(const Blob::CPtr& weights);
- /**
- * @brief Sets biases for layer
- * @param biases Constant blob with biases
- * @return reference to layer builder
- */
- FullyConnectedLayer& setBiases(const Blob::CPtr& biases);
-
- /**
* @brief Returns input port
* @return Input port
*/