Concatenate

class dragon.vm.tensorflow.keras.layers.Concatenate(
  axis=- 1,
  **kwargs
)[source]

The layer to concatenate a sequence of inputs.

Examples:

x = tf.constant([1, 2, 3])
print(tf.keras.layers.Concatenate()([x, x, x]))

__init__

Concatenate.__init__(
  axis=- 1,
  **kwargs
)[source]

Create a Concatenate layer.

Parameters:
  • axis (int, optional, default=-1) – The axis to concatenate.