Join us at TensorFlow World, Oct 28-31. Use code TF20 for 20% off select passes. Register now

tf.keras.backend.all

TensorFlow 2.0 version View source on GitHub

Bitwise reduction (logical AND).

Aliases:

  • tf.compat.v1.keras.backend.all
  • tf.compat.v2.keras.backend.all
tf.keras.backend.all(
    x,
    axis=None,
    keepdims=False
)

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).