Shortcuts

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 __unused__ = IdentityImpl

Docs

Access comprehensive developer documentation for PyTorch

View Docs

Tutorials

Get in-depth tutorials for beginners and advanced developers

View Tutorials

Resources

Find development resources and get your questions answered

View Resources