Rate this Page

Class LeakyReLU#

Inheritance Relationships#

Base Type#

Class Documentation#

class LeakyReLU : public torch::nn::ModuleHolder<LeakyReLUImpl>#

A ModuleHolder subclass for LeakyReLUImpl.

See the documentation for LeakyReLUImpl class to learn what methods it provides, and examples of how to use LeakyReLU with torch::nn::LeakyReLUOptions. See the documentation for ModuleHolder to learn about PyTorch’s module storage semantics.

Public Types

using Impl = LeakyReLUImpl#