<br />

|---|
| [![](https://www.tensorflow.org/images/GitHub-Mark-32px.png) View source on GitHub](https://github.com/keras-team/keras/tree/v3.15.1/keras/src/ops/numpy.py#L3986-L4001) |

Stack tensors in sequence horizontally (column wise).

#### View aliases


**Main aliases**

[`tf.keras.ops.numpy.hstack`](https://www.tensorflow.org/api_docs/python/tf/keras/ops/hstack)

<br />

    tf.keras.ops.hstack(
        xs
    )

This is equivalent to concatenation along the first axis for 1-D tensors,
and along the second axis for all other tensors.

<br />

<br />

<br />

| ## Args ||
|---|---|
| `xs` | Sequence of tensors. |

<br />

<br />

<br />

<br />

| ## Returns ||
|---|---|
| The tensor formed by stacking the given tensors. ||

<br />