asset-tagging/example.py
2025-09-08 14:11:43 -04:00

11 lines
201 B
Python

import torch
import torch.nn as nn
class MyModel(nn.Module):
def __init__(self):
super().__init__()
self.fc = nn.Linear(10, 2)
def forward(self, x):
return self.fc(x)