text stringlengths 0 77 |
|---|
class LinearNet(nn.Module): |
def __init__(self, input_size = 784, latent_space = 16, n_classes = 10,): |
super().__init__() |
self.fc1 = nn.Linear(input_size, latent_space) |
self.fc2 = nn.Linear(latent_space, n_classes) |
def forward(self, x): |
x = self.fc1(x) |
x = self.fc2(x) |
output = F.log_softmax(x, dim=1) |
return output |
YAML Metadata Warning:empty or missing yaml metadata in repo card
Check out the documentation for more information.
model-202404191128:
- mnist acc 92%
- fnn * 2
- Downloads last month
- 3