Spaces:
Sleeping
Sleeping
File size: 396 Bytes
bbddfb0 c6494da bbddfb0 c6494da 5f56afe c6494da |
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 |
import torch.nn as nn
import torch.nn.functional as F
from .config import Config
from huggingface_hub import PyTorchModelHubMixin
class Discriminator(nn.Module, PyTorchModelHubMixin):
def __init__(self, config: Config):
super(Discriminator, self).__init__()
self.config = config
self.model = nn.Sequential(nn.Linear())
def forward(self, x, y):
return x
|