10 lines
162 B
Python
Raw Permalink Normal View History

2023-10-23 15:45:14 +02:00
import torch.nn as nn
class Identity(nn.Module):
def __init__(self, ):
super(Identity, self).__init__()
def forward(self, x):
return x