Tutorials
External libraries
Contents
Identity
References
Bases: Module
Module
Identity layer. Can be useful for ablation study.
This layer returns the input tensor as is.
This class has no arguments and no attributes.
Methods
forward(x)
forward
Forward pass of the Identity layer.