Files
openvino/docs/ops/movement/Concat_1.md
Nikolay Tyukaev ef45b5da8d Doc Migration (master) (#1377)
* Doc Migration from Gitlab (#1289)

* doc migration

* fix

* Update FakeQuantize_1.md

* Update performance_benchmarks.md

* Updates graphs for FPGA

* Update performance_benchmarks.md

* Change DL Workbench structure (#1)

* Changed DL Workbench structure

* Fixed tags

* fixes

* Update ie_docs.xml

* Update performance_benchmarks_faq.md

* Fixes in DL Workbench layout

* Fixes for CVS-31290

* [DL Workbench] Minor correction

* Fix for CVS-30955

* Added nGraph deprecation notice as requested by Zoe

* fix broken links in api doxy layouts

* CVS-31131 fixes

* Additional fixes

* Fixed POT TOC

* Update PAC_Configure.md

PAC DCP 1.2.1 install guide.

* Update inference_engine_intro.md

* fix broken link

* Update opset.md

* fix

* added opset4 to layout

* added new opsets to layout, set labels for them

* Update VisionAcceleratorFPGA_Configure.md

Updated from 2020.3 to 2020.4

Co-authored-by: domi2000 <domi2000@users.noreply.github.com>
2020-07-20 17:36:08 +03:00

1.9 KiB

Concat

Versioned name: Concat-1

Category: data movement operation.

Short description: Concatenates arbitrary number of input tensors to a single output tensor along one axis.

Attributes:

  • axis

    • Description: axis specifies dimension to concatenate along
    • Range of values: integer number. Negative value means counting dimension from the end
    • Type: int
    • Default value: None
    • Required: yes

Inputs:

  • 1..N: Arbitrary number of input tensors of type T. Types of all tensors should match. Rank of all tensors should match. The rank is positive, so scalars as inputs are not allowed. Shapes for all inputs should match at every position except axis position. At least one input is required.

Outputs:

  • 1: Tensor of the same type T as input tensor and shape [d1, d2, ..., d_axis, ...], where d_axis is a sum of sizes of input tensors along axis dimension.

Types

  • T: any numeric type.

Example

<layer id="1" type="Concat">
    <data axis="1" />
    <input>
        <port id="0">
            <dim>1</dim>
            <dim>8</dim>  <!-- axis for concatenation -->
            <dim>50</dim>
            <dim>50</dim>
        </port>
        <port id="1">
            <dim>1</dim>
            <dim>16</dim>  <!-- axis for concatenation -->
            <dim>50</dim>
            <dim>50</dim>
        </port>
        <port id="2">
            <dim>1</dim>
            <dim>32</dim>  <!-- axis for concatenation -->
            <dim>50</dim>
            <dim>50</dim>
        </port>
    </input>
    <output>
        <port id="0">
            <dim>1</dim>
            <dim>56</dim>  <!-- concatenated axis: 8 + 16 + 32 = 48 -->
            <dim>50</dim>
            <dim>50</dim>
        </port>
    </output>
</layer>