// Copyright (C) 2018 Intel Corporation // SPDX-License-Identifier: Apache-2.0 // #pragma once #include #include #include namespace InferenceEngine { namespace Builder { /** * @brief The class represents a builder for TanH layer */ class INFERENCE_ENGINE_API_CLASS(TanHLayer): public LayerFragment { public: /** * @brief The constructor creates a builder with the name * @param name Layer name */ explicit TanHLayer(const std::string& name = ""); /** * @brief The constructor creates a builder from generic builder * @param genLayer generic builder */ explicit TanHLayer(Layer& genLayer); /** * @brief Sets the name for the layer * @param name Layer name * @return reference to layer builder */ TanHLayer& setName(const std::string& name); /** * @brief Returns port with shapes for the layer * @return Port with shapes */ const Port& getPort() const; /** * @brief Sets port shapes for the layer * @param port Port with shapes * @return reference to layer builder */ TanHLayer& setPort(const Port& port); }; } // namespace Builder } // namespace InferenceEngine