Returns the truth value of (a <= b) element-wise. Supports broadcasting.
const a = tf.tensor1d([1, 2, 3]);const b = tf.tensor1d([2, 2, 2]);a.lessEqual(b).print(); Copy
const a = tf.tensor1d([1, 2, 3]);const b = tf.tensor1d([2, 2, 2]);a.lessEqual(b).print();
The first input tensor.
The second input tensor. Must have the same dtype as a.
a
Generated using TypeDoc
Returns the truth value of (a <= b) element-wise. Supports broadcasting.