| 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) | |
| 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) | |