---
title: "ltInPlace"
sidebar_label: "ltInPlace"
description: "Kotlin binding reference: ltInPlace."
---

<!-- Generated by tools/api_reference/generate_api_docs.py. Do not edit. -->

//[clika-runtime](../../../index.md)/[io.clika.runtime](../index.md)/[Ops](index.md)/[ltInPlace](ltInPlace.md)

# ltInPlace

[common]\
fun [ltInPlace](ltInPlace.md)(self: [Tensor](../Tensor/index.md), other: [Tensor](../Tensor/index.md)): [Tensor](../Tensor/index.md)

`ltInPlace(self: Tensor, other: Tensor)`: the `lt_` operator. In-place `lt`: writes the result through `x` (one/zero at `x`'s dtype). Writes through `self` and returns it, so calls chain.

[common]\
fun [ltInPlace](ltInPlace.md)(self: [Tensor](../Tensor/index.md), other: [Double](https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-double/index.html)): [Tensor](../Tensor/index.md)

`ltInPlace(self: Tensor, other: Double)`: the number form of `lt_`, `other` as a scalar.