Functional interface to the `Concatenate` layer. 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`.
(inputs, axis=-1, **kwargs)
| 692 | |
| 693 | @keras_export('keras.layers.concatenate') |
| 694 | def concatenate(inputs, axis=-1, **kwargs): |
| 695 | """Functional interface to the `Concatenate` layer. |
| 696 | |
| 697 | Arguments: |
| 698 | inputs: A list of input tensors (at least 2). |
| 699 | axis: Concatenation axis. |
| 700 | **kwargs: Standard layer keyword arguments. |
| 701 | |
| 702 | Returns: |
| 703 | A tensor, the concatenation of the inputs alongside axis `axis`. |
| 704 | """ |
| 705 | return Concatenate(axis=axis, **kwargs)(inputs) |
| 706 | |
| 707 | |
| 708 | @keras_export('keras.layers.dot') |
no test coverage detected