Rate this Page

Typedef torch::nn::functional::ELUFuncOptions#

Typedef Documentation#

using torch::nn::functional::ELUFuncOptions = ELUOptions#

Options for torch::nn::functional::elu.

See the documentation for torch::nn::ELUOptions class to learn what arguments are supported.

Example:

namespace F = torch::nn::functional;
F::elu(x, F::ELUFuncOptions().alpha(0.42).inplace(true));