# concat

`import { concat } from "destack:tensor";`

Concatenate tensors along `axis`.

```ds title="concat"
export declare function concat<T, const Rank: usize>(tensors: &'a [Tensor<T, Rank>], axis: Axis, options?: TensorOutputOptions<T, Rank> | undefined): Tensor<T, Rank>
```

[language/library/src/tensor/ops.ds:71:75](https://github.com/destack-sh/destack/blob/main/language/library/src/tensor/ops.ds#L71-L75)
