File size: 212 Bytes
9b9f9ae |
1 2 3 4 5 6 7 8 9 10 11 |
import torch
import torch.nn as nn
class HumanoidModel(nn.Module):
def __init__(self):
super().__init__()
self.layer = nn.Linear(4, 2)
def forward(self, x):
return self.layer(x)
|