> For the complete documentation index, see [llms.txt](https://hypergan.gitbook.io/hypergan/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://hypergan.gitbook.io/hypergan/components/layers/cat.md).

# cat

````
    description: 'layer cat for configurable component'
    ---

    # cat layer

    Concatenate two or more layers together. Accepts nested layer definitions.

    ## input size

    Any number of matching tensors

    ## output size

    Same as input size

    ## syntax

    ```json
      "cat [layer]*"
    ```

    ## examples

    ```json
      "cat self (attention)"
    ```
````
