.. index:: pair: struct; dnnl::concat .. _doxid-structdnnl_1_1concat: struct dnnl::concat =================== .. toctree:: :hidden: struct_dnnl_concat_primitive_desc.rst Overview ~~~~~~~~ Tensor concatenation (concat) primitive. :ref:`More...` .. ref-code-block:: cpp :class: doxyrest-overview-code-block #include struct concat: public :ref:`dnnl::primitive` { // structs struct :ref:`primitive_desc`; // construction :ref:`concat`(); :ref:`concat`(const :ref:`primitive_desc`& pd); :ref:`concat`(const :ref:`primitive_desc`& pd, const std::vector& cache_blob); }; Inherited Members ----------------- .. ref-code-block:: cpp :class: doxyrest-overview-inherited-code-block public: // enums enum :ref:`kind`; // methods :ref:`handle`& :ref:`operator =` (const :ref:`handle`&); :ref:`handle`& :ref:`operator =` (:ref:`handle`&&); void :ref:`reset`(T t, bool weak = false); T :ref:`get`(bool allow_empty = false) const; :ref:`operator T` () const; :ref:`operator bool` () const; bool :ref:`operator ==` (const :ref:`handle`& other) const; bool :ref:`operator !=` (const :ref:`handle`& other) const; :ref:`const_dnnl_primitive_desc_t` :ref:`get_primitive_desc`() const; :ref:`kind` :ref:`get_kind`() const; std::vector :ref:`get_cache_blob`() const; void :ref:`execute`(const :ref:`stream`& astream, const std::unordered_map`>& args) const; :ref:`handle`(); :ref:`handle`(); :ref:`handle`(); :ref:`handle`(); .. _details-structdnnl_1_1concat: Detailed Documentation ~~~~~~~~~~~~~~~~~~~~~~ Tensor concatenation (concat) primitive. Construction ------------ .. index:: pair: function; concat .. _doxid-structdnnl_1_1concat_1a020ff9137811f2488198f9c6fdf8ac06: .. ref-code-block:: cpp :class: doxyrest-title-code-block concat() Default constructor. Produces an empty object. .. index:: pair: function; concat .. _doxid-structdnnl_1_1concat_1a024112606be8b645b6a89cc5c93ff7e7: .. ref-code-block:: cpp :class: doxyrest-title-code-block concat(const :ref:`primitive_desc`& pd) Constructs a concatenation primitive. .. rubric:: Parameters: .. list-table:: :widths: 20 80 * - pd - Primitive descriptor for concatenation primitive. .. index:: pair: function; concat .. _doxid-structdnnl_1_1concat_1a935d0de1ba1c77b9333189e0250aa254: .. ref-code-block:: cpp :class: doxyrest-title-code-block concat(const :ref:`primitive_desc`& pd, const std::vector& cache_blob) Constructs a concatenation primitive from a cache blob. .. rubric:: Parameters: .. list-table:: :widths: 20 80 * - pd - Primitive descriptor for concatenation primitive. * - cache_blob - Cache blob.