DeepNAPSI / DummyModel.py
lfolle's picture
Update DummyModel.py
db65a6c
raw
history blame
219 Bytes
import torch
import torch.nn
class DummyModel(torch.nn.Module):
def __init__(self):
super().__init__()
def forward(self, x):
return 1
def __call__(self, x):
return self.forward(x)