tf.keras.layers.average

tf.keras.layers.average(
    inputs,
    **kwargs
)

Defined in tensorflow/python/keras/_impl/keras/layers/merge.py.

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.