Neuralikeqarneq ilinniarneqalersorneqasarneq pytorchi naapinneqarneq ilinniartitsisartunngortitsineq immikkoortoq
iluani illit nunaat natanngittut neural network-imik inissisimaffiat PyTorch-imut immikkuullu. 

MLP-ni iluani illit nunaat natanngittut: 

``` python
import torch.nn as nn

class MLP(nn.Module):
    def __init__(self, input_size, hidden_size, output_size):
        super(MLP, self).__init__()
        self.fc1 = nn.Linear(input_size, hidden_size)
        self.relu = nn.ReLU()
        self.fc2 = nn.Linear(hidden_size, output_size)
        self.softmax = nn.Softmax(dim=1)

    def forward(self, x):
        out = self.fc1(x)
        out = self.relu(out)
        out = self.fc2(out)
        out = self.softmax(out)
        return out
```

MLP iluaqattaarneq anivaat qalipataa: input_size, hidden_size, output_size. 

__init__ angisuunneq anivaat qalipataa: self.fc1, self.relu, self.fc2, self.softmax. 

forward angisuunneq anivaat qalipataa: x, out.