human
2. 사전 설정
* model
* loss
* opimizer

Give me a the Python program you requested?
assistant
#Here is the Python program you requested.
#commnet
class _model(nn.Module) :
    def __init__(self):
        super(_model, self).__init__()
        self.fc1 = nn.Linear(2, 10)
        self.fc2 = nn.Linear(10, 3)
        
    def forward(self, net):
        net = net.view(-1, 2)
        net = F.relu(self.fc1(net))
        net = self.fc2(net)
        return F.log_softmax(net) 
    
model = _model()
loss_fn = nn.NLLLoss() 
optimizer = torch.optim.SGD(model.parameters(), lr=0.01)