---
title: "ClikaRT::nn::PReLUOptions"
sidebar_label: "PReLUOptions"
description: "Construction settings of PReLU beyond the parameter count (a plain aggregate; assign the fields you need)."
---

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

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

**Header:** `ClikaRT/nn/prelu.h`

Construction settings of [`PReLU`](./PReLU.md) beyond the parameter count (a plain aggregate; assign the fields you need).

## Data members

### init {#init}

<div class="api-signature">

`double` **`init`** `= 0.25`

</div>

The initial value of every slope. Default `0.25`.

<div class="api-declared">

Declared in `ClikaRT/nn/prelu.h`, line 40

</div>

### dtype {#dtype}

<div class="api-signature">

[`DataType`](../../index.md#DataType) **`dtype`** `=` [`DataType::Float32`](../../index.md#DataType)

</div>

The dtype of the `weight` parameter; a bound payload casts to it. Default `Float32`.

<div class="api-declared">

Declared in `ClikaRT/nn/prelu.h`, line 43

</div>

### device {#device}

<div class="api-signature">

[`Device`](../Device.md) **`device`** `=` [`Device::cpu`](../Device.md#cpu)`()`

</div>

The placement of the `weight` parameter. Default cpu.

<div class="api-declared">

Declared in `ClikaRT/nn/prelu.h`, line 45

</div>
