Skip to main content

//clika-runtime/io.clika.runtime/Ops/clampMinInPlace

clampMinInPlace

[common]
fun clampMinInPlace(self: Tensor, min: Tensor): Tensor

clampMinInPlace(self: Tensor, min: Tensor): the clamp_min_ operator. In-place clamp_min: writes the result through self; same formula, arguments, and error conditions as clamp_min(). A view input writes through its base storage. Returns self under the value surface, Result<void> under the Result surface; CLIKART_CHECK is the mode-stable spelling. Writes through self and returns it, so calls chain.

[common]
fun clampMinInPlace(self: Tensor, min: Double): Tensor

clampMinInPlace(self: Tensor, min: Double): the number form of clamp_min_, min as a scalar.