---
title: "ClikaRT::ops::mul_"
sidebar_label: "mul_"
description: "In-place mul: writes $ act(x \\cdot other) $ 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>

## mul\_() {#mul_}

<div class="api-signature">

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

</div>

In-place [`mul`](./mul.md#mul): writes $act(x \cdot other)$ through `x`.

**Throws**

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

<div class="api-declared">

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

</div>
