Identity
Identity(*args, **kwargs)
A layer that returns its input unchanged. Any constructor arguments are accepted and ignored, so it stands in for an optional layer without changing the surrounding code.
__init__
__init__(self, *args: 'object', **kwargs: 'object') -> 'None'
Initialize self. See help(type(self)) for accurate signature.
forward
forward(self, input: 'Tensor') -> 'Tensor'
forward(input) -> Tensor