Class Softshrink¶
Defined in File activation.h
Page Contents
Inheritance Relationships¶
Base Type¶
public torch::nn::ModuleHolder< SoftshrinkImpl >
(Template Class ModuleHolder)
Class Documentation¶
-
class Softshrink : public torch::nn::ModuleHolder<SoftshrinkImpl>¶
A
ModuleHolder
subclass forSoftshrinkImpl
.See the documentation for
SoftshrinkImpl
class to learn what methods it provides, and examples of how to useSoftshrink
withtorch::nn::SoftshrinkOptions
. See the documentation forModuleHolder
to learn about PyTorch’s module storage semantics.Public Types
-
using Impl = SoftshrinkImpl¶
-
using Impl = SoftshrinkImpl¶