---
title: "ClikaRT::ops::snake_"
sidebar_label: "snake_"
description: "In-place snake: writes the result through self; same formula, arguments, and error conditions as snake(). A view input writes through its base storage."
---

<!-- Generated by tools/doxygen2mdx from Doxygen XML. Do not edit. -->

<span class="api-kind api-kind--function">function</span>

## snake\_() {#snake_}

<div class="api-signature">

[`Tensor`](../Tensor.md)`&` **`snake_`**(<br />
&nbsp;&nbsp;&nbsp;&nbsp;[`Tensor`](../Tensor.md)`&` `self`,<br />
&nbsp;&nbsp;&nbsp;&nbsp;[`OptionalTensor`](../../index.md#OptionalTensor) `alpha` `=` `{}`,<br />
&nbsp;&nbsp;&nbsp;&nbsp;[`OptionalTensor`](../../index.md#OptionalTensor) `beta` `=` `{}`,<br />
&nbsp;&nbsp;&nbsp;&nbsp;`double` `eps` `=` `1e-9`<br />
)

</div>

In-place [`snake`](./snake.md#snake): writes the result through `self`; same formula, arguments, and error conditions as [`snake()`](./snake.md#snake). A view input writes through its base storage. Returns `self` under the value surface, [`Result`](../Result.md)`<void>` under the [`Result`](../Result.md) surface; [`CLIKART_CHECK`](../../index.md#CLIKART_CHECK) is the mode-stable spelling.

<div class="api-declared">

Declared in `ClikaRT/compute/ops.h`, line 1046

</div>
