:github_url: https://github.com/pytorch/pytorch .. _exhale_function_namespacetorch_1_1nn_1_1functional_1a346ce796e5020a3464aac8d5eedc3585: Function torch::nn::functional::softshrink ========================================== - Defined in :ref:`file_torch_csrc_api_include_torch_nn_functional_activation.h` Function Documentation ---------------------- .. doxygenfunction:: torch::nn::functional::softshrink(const Tensor&, const SoftshrinkFuncOptions&)