Dataprovider iterator
Compare changes
Files
6+ 91
− 11
@@ -20,8 +20,6 @@
@@ -33,14 +31,35 @@ class DataProvider {
@@ -48,15 +67,76 @@ public:
Add features to dataprovider :
__iter__
, __next__
and __len__
implemented functionsshuffle
argument to perform random batch permutation for learningdropLast
argument to drop the last non-full batchOther :
Copyright © Eclipse Foundation, Inc. All Rights Reserved. Privacy Policy | Terms of Use | Copyright Agent