tf.keras.backend.all

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

Defined in tensorflow/python/keras/backend.py.

Bitwise reduction (logical AND).

Arguments:

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

Returns:

A uint8 tensor (0s and 1s).