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