JP Devc Official Badge

Create AZURE Directory Account

Créez un labo de machines virtuelles préconfigurées Configurez et fournissez aisément un accès à la demande

  • December 25, 2019 at 2:43 PM
  • Last updated over 6 years ago
  • Visible to public
Facebook

PyTorch

import torch from torch.autograd import Variable import torch.nn as nn import torch.nn.functional as F class Net(nn.Module): def __init__(self): super(Net, self).__init__() # 1 input image channel, 6 output channels, 5x5 square convolution # kernel self.conv1 = nn.Conv2d(1, 6, 5) self.conv2 = nn.Conv2d(6, 16, 5) # an affine operation: y = Wx