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
ModuleHolder
subclass forHardtanhImpl
.See the documentation for
HardtanhImpl
class to learn what methods it provides, and examples of how to useHardtanh
withtorch::nn::HardtanhOptions
. See the documentation forModuleHolder
to learn about PyTorch’s module storage semantics.Public Types
-
using __unused__ = HardtanhImpl¶
-
using __unused__ = HardtanhImpl¶