tf.keras.backend.any

View source on GitHub

Bitwise reduction (logical OR).

tf.keras.backend.any(
    x, axis=None, keepdims=False
)

Arguments:

Returns:

A uint8 tensor (0s and 1s).