Skip to content

Commit e9d1f62

Browse files
committed
use py3 next syntax
1 parent e19cbfc commit e9d1f62

File tree

1 file changed

+1
-1
lines changed
  • examples/int8/training/vgg16

1 file changed

+1
-1
lines changed

examples/int8/training/vgg16/main.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -93,7 +93,7 @@ def main():
9393
model = model.cuda()
9494

9595
data = iter(training_dataloader)
96-
images, _ = data.next()
96+
images, _ = next(data)
9797

9898
writer.add_graph(model, images.cuda())
9999
writer.close()

0 commit comments

Comments
 (0)