tf.keras.layers.Average

Layer that averages a list of inputs.

Compat aliases for migration

See Migration guide for more details.

tf.compat.v1.keras.layers.Average, `tf.compat.v2.keras.layers.Average`

It takes as input a list of tensors, all of the same shape, and returns a single tensor (also of the same shape).