Source code for gedml.core.models.identity

import torch
import torch.nn as nn 

from ..modules import WithRecorder

[docs]class Identity(WithRecorder): """ Do nothing. """ def __init__(self): super(Identity, self).__init__()
[docs] def forward(self, features): return features