TF 2.0 is out! Get hands-on practice at TF World, Oct 28-31. Use code TF20 for 20% off select passes. Register now

tf.keras.layers.Maximum

TensorFlow 1 version View source on GitHub

Class Maximum

Layer that computes the maximum (element-wise) a list of inputs.

Aliases:

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

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

__init__

View source

__init__(**kwargs)