tf.keras.ops.hstack  |  TensorFlow v2.16.1 (original) (raw)

tf.keras.ops.hstack

Stack tensors in sequence horizontally (column wise).

View aliases

Main aliases

tf.keras.ops.numpy.hstack

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.

Args
xs Sequence of tensors.
Returns
The tensor formed by stacking the given tensors.

Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License, and code samples are licensed under the Apache 2.0 License. For details, see the Google Developers Site Policies. Java is a registered trademark of Oracle and/or its affiliates. Some content is licensed under the numpy license.

Last updated 2024-06-07 UTC.