//clika-runtime/io.clika.runtime/Ops/hardtanhInPlace
hardtanhInPlace
[common]
fun hardtanhInPlace(self: Tensor, minVal: Double = -1.0, maxVal: Double = 1.0): Tensor
hardtanhInPlace(self: Tensor, minVal: Double = -1.0, maxVal: Double = 1.0): the hardtanh_ operator. In-place hardtanh: writes the result through self; same formula, arguments, and error conditions as hardtanh(). 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.