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