mpd-public/mpd/models/layers/identity.py
2023-10-23 15:45:14 +02:00

10 lines
162 B
Python

import torch.nn as nn
class Identity(nn.Module):
def __init__(self, ):
super(Identity, self).__init__()
def forward(self, x):
return x