ermandmand commited on
Commit
98e88ac
·
verified ·
1 Parent(s): ceef179

Create model.py

Browse files
Files changed (1) hide show
  1. model.py +10 -0
model.py ADDED
@@ -0,0 +1,10 @@
 
 
 
 
 
 
 
 
 
 
 
1
+ import torch
2
+ import torch.nn as nn
3
+
4
+ class HumanoidCoreModel(nn.Module):
5
+ def __init__(self):
6
+ super().__init__()
7
+ self.layer = nn.Linear(4, 2)
8
+
9
+ def forward(self, x):
10
+ return self.layer(x)