Created
April 4, 2020 08:59
-
-
Save thunderInfy/9b83c642de97b7efab751f0b0825aafb to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| class LinearNet(nn.Module): | |
| def __init__(self): | |
| super(LinearNet, self).__init__() | |
| self.fc1 = torch.nn.Linear(50, 5) | |
| def forward(self, x): | |
| x = self.fc1(x) | |
| return(x) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment