It takes as input a list of tensors, all of the same shape expect for the concatenation axis, and returns a single tensor, the concatenation of all inputs.

layer_concatenate(inputs, axis = -1, ...)

Arguments

inputs

A list of input tensors (at least 2). Can be missing.

axis

Concatenation axis.

...

Standard layer arguments (must be named).

Value

A tensor, the concatenation of the inputs alongside axis axis. If inputs is missing, a keras layer instance is returned.

See also