Advertisement
Guest User

Untitled

a guest
Jul 15th, 2019
75
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.50 KB | None | 0 0
  1. net = nn.Sequential(
  2. nn.Conv2d(1, 64, 3),
  3. nn.BatchNorm2d(64, momentum=1, affine=True),
  4. nn.ReLU(inplace=True),
  5. nn.MaxPool2d(2, 2),
  6. nn.Conv2d(64, 64, 3),
  7. nn.BatchNorm2d(64, momentum=1, affine=True),
  8. nn.ReLU(inplace=True),
  9. nn.MaxPool2d(2, 2),
  10. nn.Conv2d(64, 64, 3),
  11. nn.BatchNorm2d(64, momentum=1, affine=True),
  12. nn.ReLU(inplace=True),
  13. nn.MaxPool2d(2,2),
  14. Flatten(),
  15. nn.Linear(64, args.n_way)).to(device)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement