Typedef torch::nn::functional::LeakyReLUFuncOptions¶
Defined in File activation.h
Typedef Documentation¶
-
using torch::nn::functional::LeakyReLUFuncOptions = LeakyReLUOptions¶
Options for
torch::nn::functional::leaky_relu
.See the documentation for
torch::nn::LeakyReLUOptions
class to learn what arguments are supported.Example:
namespace F = torch::nn::functional; F::leaky_relu(x, F::LeakyReLUFuncOptions().negative_slope(0.42).inplace(true));