Skip to main content

//clika-runtime/io.clika.runtime/Ops/relu6InPlace

relu6InPlace

[common]
fun relu6InPlace(self: Tensor): Tensor

relu6InPlace(self: Tensor): the relu6_ operator. In-place relu6: writes the result through self; same formula, arguments, and error conditions as relu6(). 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.