Is it correct?  so I changed the model’s define because I made the 2 layers in network.
Input layer has 64 neuron to match the shape of input_data and output layers has 6400 neurons.
lass LogisticRegression(nn.Module):
    def __init__(self, input_size, num_classes):
        super(LogisticRegression, self).__init__()
        self.linear = nn.Linear(input_size, num_classes)
    def forward(self, x):
        output = self.linear(x)
        pred = torch.max(output, 1)

        return output, pred