Typedef torch::nn::functional::SoftplusFuncOptions¶
Defined in File activation.h
Typedef Documentation¶
-
using torch::nn::functional::SoftplusFuncOptions = SoftplusOptions¶
Options for
torch::nn::functional::softplus
.See the documentation for
torch::nn::SoftplusOptions
class to learn what arguments are supported.Example:
namespace F = torch::nn::functional; F::softplus(x, F::SoftplusFuncOptions().beta(0.5).threshold(3.0));