tf.keras.layers.concatenate

TensorFlow 2 version View source on GitHub

Functional interface to the Concatenate layer.

Aliases:

tf.keras.layers.concatenate(
    inputs,
    axis=-1,
    **kwargs
)

Arguments:

  • inputs: A list of input tensors (at least 2).
  • axis: Concatenation axis.
  • **kwargs: Standard layer keyword arguments.

Returns:

A tensor, the concatenation of the inputs alongside axis axis.