chore(example/cifar): update
This commit is contained in:
parent
bb4e286ee5
commit
2d2bf65ddf
|
@ -128,6 +128,8 @@ func main() {
|
|||
opt.SetLR(learningRate(epoch))
|
||||
|
||||
iter := ts.MustNewIter2(ds.TrainImages, ds.TrainLabels, int64(64))
|
||||
iter = iter.ToDevice(device)
|
||||
|
||||
// iter.Shuffle()
|
||||
// iter = iter.ToDevice(device)
|
||||
|
||||
|
|
Loading…
Reference in New Issue
Block a user