Functional interface to the `Average` layer. Arguments: inputs: A list of input tensors (at least 2). **kwargs: Standard layer keyword arguments. Returns: A tensor, the average of the inputs.
(inputs, **kwargs)
| 632 | |
| 633 | @keras_export('keras.layers.average') |
| 634 | def average(inputs, **kwargs): |
| 635 | """Functional interface to the `Average` layer. |
| 636 | |
| 637 | Arguments: |
| 638 | inputs: A list of input tensors (at least 2). |
| 639 | **kwargs: Standard layer keyword arguments. |
| 640 | |
| 641 | Returns: |
| 642 | A tensor, the average of the inputs. |
| 643 | """ |
| 644 | return Average(**kwargs)(inputs) |
| 645 | |
| 646 | |
| 647 | @keras_export('keras.layers.maximum') |