---
title: "Tanh"
sidebar_label: "Tanh"
description: "The clika_runtime.nn Tanh class."
---

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

Tanh()

    Elementwise hyperbolic tangent.

    The module form of ``clika_runtime.nn.functional.tanh``: construct it once,
    then call it like a function.
    

## `__init__`

```python
__init__(self) -> 'None'
```

Initialize self.  See help(type(self)) for accurate signature.

## `forward`

```python
forward(self, input: 'Tensor') -> 'Tensor'
```

forward(input) -> Tensor

Runs ``clika_runtime.nn.functional.tanh`` on ``input``; returns a new
tensor.
