Help protect the Great Barrier Reef with TensorFlow on Kaggle Join Challenge


TensorFlow 1 version View source on GitHub

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

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

tf.keras.layers.Minimum()([np.arange(5).reshape(5, 1),
                           np.arange(5, 10).reshape(5, 1)])
<tf.Tensor: shape=(5, 1), dtype=int64, numpy=
x1 = tf.keras.layers.Dense(8)(np.arange(10).reshape(5, 2))
x2 = tf.keras.layers.Dense(8)(np.arange(10, 20).reshape(5, 2))
minned = tf.keras.layers.Minimum()([x1, x2])
TensorShape([5, 8])

**kwargs standard layer keyword arguments.