---
title: "ClikaRT::ops::clamp_min_"
sidebar_label: "clamp_min_"
description: "In-place clamp_min: writes the result through self; same formula, arguments, and error conditions as clamp_min(). 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>

## clamp\_min\_() {#clamp_min_}

<div class="api-signature">

[`Tensor`](../Tensor.md)`&` **`clamp_min_`**([`Tensor`](../Tensor.md)`&` `self`, [`ScalarOrTensor`](../ScalarOrTensor.md) `min`)

</div>

In-place [`clamp_min`](./clamp_min.md#clamp_min): writes the result through `self`; same formula, arguments, and error conditions as [`clamp_min()`](./clamp_min.md#clamp_min). 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 4929

</div>
