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

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

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

# log2InPlace

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

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