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