Class Hardshrink¶
Defined in File activation.h
Page Contents
Inheritance Relationships¶
Base Type¶
public torch::nn::ModuleHolder< HardshrinkImpl >(Template Class ModuleHolder)
Class Documentation¶
-
class Hardshrink : public torch::nn::ModuleHolder<HardshrinkImpl>¶
A
ModuleHoldersubclass forHardshrinkImpl.See the documentation for
HardshrinkImplclass to learn what methods it provides, and examples of how to useHardshrinkwithtorch::nn::HardshrinkOptions. See the documentation forModuleHolderto learn about PyTorch’s module storage semantics.Public Types
-
using __unused__ = HardshrinkImpl¶
-
using __unused__ = HardshrinkImpl¶