Rate this Page

Class Identity#

Inheritance Relationships#

Base Type#

Class Documentation#

class Identity : public torch::nn::ModuleHolder<IdentityImpl>#

A ModuleHolder subclass for IdentityImpl.

See the documentation for IdentityImpl class to learn what methods it provides, or the documentation for ModuleHolder to learn about PyTorch’s module storage semantics.

Public Types

using Impl = IdentityImpl#