Missed TensorFlow World? Check out the recap. Learn more

tf.keras.layers.average

TensorFlow 1 version View source on GitHub

Functional interface to the Average layer.

Aliases:

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

Used in the guide:

Arguments:

  • inputs: A list of input tensors (at least 2).
  • **kwargs: Standard layer keyword arguments.

Returns:

A tensor, the average of the inputs.