tf.keras.ops.isnan

Test element-wise for NaN and return result as a boolean tensor.

Main aliases

tf.keras.ops.numpy.isnan

x Input tensor.

Output boolean tensor.