Class ReLU6¶
Defined in File activation.h
Page Contents
Inheritance Relationships¶
Base Type¶
public torch::nn::ModuleHolder< ReLU6Impl >
(Template Class ModuleHolder)
Class Documentation¶
-
class ReLU6 : public torch::nn::ModuleHolder<ReLU6Impl>¶
A
ModuleHolder
subclass forReLU6Impl
.See the documentation for
ReLU6Impl
class to learn what methods it provides, and examples of how to useReLU6
withtorch::nn::ReLU6Options
. See the documentation forModuleHolder
to learn about PyTorch’s module storage semantics.