UNPKG

585 BTypeScriptView Raw
1import { Tensor } from '../tensor';
2import { TensorLike } from '../types';
3/**
4 * Returns the truth value of (a < b) element-wise. Supports broadcasting.
5 *
6 * ```js
7 * const a = tf.tensor1d([1, 2, 3]);
8 * const b = tf.tensor1d([2, 2, 2]);
9 *
10 * a.less(b).print();
11 * ```
12 * @param a The first input tensor.
13 * @param b The second input tensor. Must have the same dtype as `a`.
14 *
15 * @doc {heading: 'Operations', subheading: 'Logical'}
16 */
17declare function less_<T extends Tensor>(a: Tensor | TensorLike, b: Tensor | TensorLike): T;
18export declare const less: typeof less_;
19export {};