Hugging Face
Models
Datasets
Spaces
Posts
Docs
Enterprise
Pricing
Log In
Sign Up
Spaces:
lfolle
/
DeepNAPSI
like
6
Runtime error
App
Files
Files
Community
4
7de3a59
DeepNAPSI
/
DummyModel.py
lfolle
Update DummyModel.py
db65a6c
over 2 years ago
raw
Copy download link
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)