Spaces:
Sleeping
Sleeping
Create new file
Browse files- DummyModel.py +10 -0
DummyModel.py
ADDED
|
@@ -0,0 +1,10 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
import torch
|
| 2 |
+
import torch.nn
|
| 3 |
+
|
| 4 |
+
|
| 5 |
+
class DummyModel(torch.nn.Module):
|
| 6 |
+
def __init__(self):
|
| 7 |
+
super().__init__()
|
| 8 |
+
|
| 9 |
+
def foward(self, x):
|
| 10 |
+
return 1
|