Skip to content

Commit b3ed317

Browse files
authored
Merge pull request L1aoXingyu#1 from dondon2475848/patch-1
Update neural_network.py
2 parents e0f999d + ba94d6c commit b3ed317

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

03-Neural Network/neural_network.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -93,7 +93,7 @@ def forward(self, x):
9393
img = Variable(img, volatile=True).cuda()
9494
label = Variable(label, volatile=True).cuda()
9595
else:
96-
img = Variabel(img, volatile=True)
96+
img = Variable(img, volatile=True)
9797
label = Variable(label, volatile=True)
9898
out = model(img)
9999
loss = criterion(out, label)

0 commit comments

Comments
 (0)