UnboundLocalError                         Traceback (most recent call last)
 in ()
2   inputs, labels = data
3   optimizer.zero_grad()
----> 4   outputs = net(inputs)
5   loss = criterion(outputs, labels)
6   loss.backward()
1 frames
 in forward(self, X)
9     self.fc3 = nn.Linear(84,10)
10   def forward(self,X):
—> 11     x =  self.pool(F.relu(self.conv1(x)))
12     X = self.pool(F.relu(self.conv2(x)))
13     X = X.view(-1,1655)
UnboundLocalError: local variable ‘x’ referenced before assignment