Skip to main content

ClikaRT::ops::selu

function

selu()

Tensor selu(Tensor x)

Scaled exponential linear unit: elu with the fixed SELU constants (alpha ~= 1.6733, scale ~= 1.0507) from the self-normalizing-networks formulation.

Throws

  • ClikaRT::Error: when the input's dtype is not served for this operation (the machine-readable reason rides code_name()).

Returns: a new tensor, same shape and dtype as x.

auto y = ClikaRT::ops::selu(x);

Declared in ClikaRT/compute/ops.h, line 704