Last active
May 8, 2020 15:25
-
-
Save ayulockin/d49fc86de5e8b06f57edfda254e57811 to your computer and use it in GitHub Desktop.
This file contains 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 NetforExplode(nn.Module): | |
def __init__(self): | |
super(NetforExplode, self).__init__() | |
self.conv1 = nn.Conv2d(1, 32, 3, 1) | |
self.conv1.weight.data.fill_(100) | |
self.conv1.bias.data.fill_(-100) | |
self.conv2 = nn.Conv2d(32, 64, 3, 1) | |
self.conv2.weight.data.fill_(100) | |
self.conv2.bias.data.fill_(-100) | |
self.fc1 = nn.Linear(9216, 128) | |
self.fc1.weight.data.fill_(100) | |
self.fc1.bias.data.fill_(-100) | |
self.fc2 = nn.Linear(128, 10) | |
self.fc2.weight.data.fill_(100) | |
self.fc2.bias.data.fill_(-100) | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment