Tune in to the first Women in ML Symposium this Tuesday, October 19 at 9am PST Register now

tf.keras.backend.any

TensorFlow 2 version View source on GitHub

Bitwise reduction (logical OR).

x Tensor or variable.
axis axis along which to perform the reduction.
keepdims whether the drop or broadcast the reduction axes.

A uint8 tensor (0s and 1s).