importtorchimporttorch.nnasnnimporttorch.nn.functionalasFclassMyLeNet(nn.Module):def__init__(self):super(MyLeNet,self).__init__()self.conv1=nn.Conv2d(1,6,5)self.pool1=nn.MaxPool2d(2,2)self.conv2=nn.Conv2d(6,16,5)self.pool2=nn.MaxPool2d(2,2)self.conv3=nn.Conv2d(16,1...