tf.keras.layers.Average

Class Average

Layer that averages a list of inputs.

Aliases:

  • Class tf.compat.v1.keras.layers.Average
  • Class tf.compat.v2.keras.layers.Average
  • Class tf.keras.layers.Average

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

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

__init__

__init__(**kwargs)