# tensorplay.functional.lt Source: https://www.tensorplay.cn/docs/generated/tensorplay.functional.lt.html ```python tensorplay.functional.lt(input, other, *, out=None) → Tensor ``` Computes $\text{input} The second argument can be a number or a tensor whose shape is [broadcastable](/docs/notes/broadcasting.html#broadcasting-semantics) with the first argument. Parameters: - input ([Tensor](/docs/generated/tensorplay.Tensor.html#tensorplay.Tensor)) – the tensor to compare - other ([Tensor](/docs/generated/tensorplay.Tensor.html#tensorplay.Tensor) or [float](https://docs.python.org/3/builtins/functions.html#float)) – the tensor or value to compare Keyword Arguments: out ([Tensor](/docs/generated/tensorplay.Tensor.html#tensorplay.Tensor), optional) – the output tensor. Returns: A boolean tensor that is True where input is less than other and False elsewhere Example: ``` >>> tensorplay.lt(tensorplay.tensor([[1, 2], [3, 4]]), tensorplay.tensor([[1, 1], [4, 4]])) tensor([[False, False], [True, False]]) ```