TensorFlow 2.0 RC is available Learn more

tf.keras.backend.concatenate

TensorFlow 2.0 version View source on GitHub

Concatenates a list of tensors alongside the specified axis.

Aliases:

  • tf.compat.v1.keras.backend.concatenate
  • tf.compat.v2.keras.backend.concatenate
tf.keras.backend.concatenate(
    tensors,
    axis=-1
)

Arguments:

  • tensors: list of tensors to concatenate.
  • axis: concatenation axis.

Returns:

A tensor.