---
title: "ClikaRT::nn::Identity"
sidebar_label: "Identity"
description: "Returns its input unchanged: it keeps a slot in a container where a module is expected (a skipped normalization, a disabled projection) without changing the data flow."
---

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

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

**Header:** `ClikaRT/nn/containers.h`  
**Inherits:** [`ClikaRT::nn::Module`](./Module.md)

Returns its input unchanged: it keeps a slot in a container where a module is expected (a skipped normalization, a disabled projection) without changing the data flow.

## Member functions

### Identity() {#Identity}

<div class="api-signature">

`explicit` **`Identity`**([`IdentityOptions`](./IdentityOptions.md) `options` `=` `{}`)

</div>

Constructs the module from [`options`](./Identity.md#options) (every default when omitted).

<div class="api-declared">

Declared in `ClikaRT/nn/containers.h`, line 217

</div>

### forward() {#forward}

<div class="api-signature">

[`Tensor`](../Tensor.md) **`forward`**([`Tensor`](../Tensor.md) `input`) `const`

</div>

[`forward_impl`](./Identity.md#forward), unwrapped (it cannot fail).

<div class="api-declared">

Declared in `ClikaRT/nn/containers.h`, line 223

</div>

### operator()() {#operator-call}

<div class="api-signature">

[`Tensor`](../Tensor.md) **`operator()`**([`Tensor`](../Tensor.md) `input`) `const`

</div>

Same as [`forward`](./Identity.md#forward).

<div class="api-declared">

Declared in `ClikaRT/nn/containers.h`, line 227

</div>

### options() {#options}

<div class="api-signature">

`const` [`IdentityOptions`](./IdentityOptions.md)`&` **`options`**() `const`

</div>

The settings this module was constructed with.

<div class="api-declared">

Declared in `ClikaRT/nn/containers.h`, line 231

</div>
