Returns which elements of x are finite.
const x = tf.tensor1d([NaN, Infinity, -Infinity, 0, 1]);x.isFinite().print(); // or tf.isNaN(x) Copy
const x = tf.tensor1d([NaN, Infinity, -Infinity, 0, 1]);x.isFinite().print(); // or tf.isNaN(x)
The input Tensor.
Generated using TypeDoc
Returns which elements of x are finite.