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

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

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

# reluInPlace

[common]\
fun [reluInPlace](reluInPlace.md)(self: [Tensor](../Tensor/index.md)): [Tensor](../Tensor/index.md)

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