layer_concatenate {keras} | R Documentation |
Layer that concatenates a list of inputs.
Description
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.
Usage
layer_concatenate(inputs, ..., axis = -1)
Arguments
inputs |
A input tensor, or list of input tensors. Can be missing. |
... |
Unnamed args are treated as additional |
axis |
Concatenation axis. |
Value
A tensor, the concatenation of the inputs alongside axis axis
. If
inputs
is missing, a keras layer instance is returned.
See Also
-
https://www.tensorflow.org/api_docs/python/tf/keras/layers/concatenate
-
https://www.tensorflow.org/api_docs/python/tf/keras/layers/Concatenate
Other merge layers:
layer_average()
,
layer_dot()
,
layer_maximum()
,
layer_minimum()
,
layer_multiply()
,
layer_subtract()
[Package keras version 2.15.0 Index]