Skip to main content

//clika-runtime/io.clika.runtime/Ops/eqInPlace

eqInPlace

[common]
fun eqInPlace(self: Tensor, other: Tensor): Tensor

eqInPlace(self: Tensor, other: Tensor): the eq_ operator. In-place eq: writes the comparison result through x (x keeps its own dtype; true/false land as one/zero). Writes through self and returns it, so calls chain.

[common]
fun eqInPlace(self: Tensor, other: Double): Tensor

eqInPlace(self: Tensor, other: Double): the number form of eq_, other as a scalar.