Skip to main content

ClikaRT::nn::PReLUOptions

struct

Header: ClikaRT/nn/prelu.h

Construction settings of PReLU beyond the parameter count (a plain aggregate; assign the fields you need).

Data members​

init​

double init = 0.25

The initial value of every slope. Default 0.25.

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

dtype​

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

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

device​

Device device = Device::cpu()

The placement of the weight parameter. Default cpu.

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