tf.keras.ops.isinf

Test element-wise for positive or negative infinity.

x Input tensor.

Output boolean tensor.