tf.keras.layers.concatenate

TensorFlow 1 version View source on GitHub

Functional interface to the Concatenate layer.

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

Used in the notebooks

Used in the guide Used in the tutorials

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.