Publishing 2019 R1 content
[platform/upstream/dldt.git] / inference-engine / thirdparty / clDNN / api / CPP / embed.hpp
index 8acb967..0c1d492 100644 (file)
@@ -56,6 +56,19 @@ namespace cldnn
                        , bias(bias)
                {}
 
+        /// @brief Constructs embed primitive.
+        /// @param id This primitive id.
+        /// @param input Input primitive id.
+        embed(
+            const primitive_id& id,
+            const primitive_id& input,
+            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)