---
title: "ClikaRT::ops::div_"
sidebar_label: "div_"
description: "In-place div: writes the (optionally rounded) quotient through x. ClikaRT::Error as the value form."
---

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

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

## div\_() {#div_}

<div class="api-signature">

[`Tensor`](../Tensor.md)`&` **`div_`**(<br />
&nbsp;&nbsp;&nbsp;&nbsp;[`Tensor`](../Tensor.md)`&` `self`,<br />
&nbsp;&nbsp;&nbsp;&nbsp;[`ScalarOrTensor`](../ScalarOrTensor.md) `other`,<br />
&nbsp;&nbsp;&nbsp;&nbsp;[`RoundingMode`](./index.md#RoundingMode) `rounding_mode` `=` [`RoundingMode::None`](./index.md#RoundingMode),<br />
&nbsp;&nbsp;&nbsp;&nbsp;[`Activation`](./index.md#Activation) `activation` `=` [`Activation::Identity`](./index.md#Activation)<br />
)

</div>

In-place [`div`](./div.md#div): writes the (optionally rounded) quotient through `x`.

**Throws**

- `ClikaRT::Error`: as the value form.

<div class="api-declared">

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

</div>
