---
title: "ClikaRT::nn::SELU"
sidebar_label: "SELU"
description: "Scaled exponential linear unit: ELU with the fixed self-normalizing constants (alpha about 1.6733, scale about 1.0507)."
---

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

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

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

Scaled exponential linear unit: [ELU](./ELU.md) with the fixed self-normalizing constants (alpha about 1.6733, scale about 1.0507). The module form of [`ClikaRT::ops::selu`](../ops/selu.md#selu), which documents the full contract (shapes, dtypes, errors); construct once, then call it like a function.

## Member functions

### SELU() {#SELU}

<div class="api-signature">

`explicit` **`SELU`**([`SELUOptions`](./SELUOptions.md) `options` `=` `{}`)

</div>

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

<div class="api-declared">

Declared in `ClikaRT/nn/generated/activation.h`, line 308

</div>

### forward() {#forward}

<div class="api-signature">

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

</div>

[`forward_impl`](./SELU.md#forward), unwrapped: raises [`ClikaRT::Error`](../Error.md) on failure.

<div class="api-declared">

Declared in `ClikaRT/nn/generated/activation.h`, line 324

</div>

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

<div class="api-signature">

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

</div>

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

<div class="api-declared">

Declared in `ClikaRT/nn/generated/activation.h`, line 328

</div>

### options() {#options}

<div class="api-signature">

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

</div>

The settings this module was constructed with.

<div class="api-declared">

Declared in `ClikaRT/nn/generated/activation.h`, line 332

</div>
