# HG changeset patch # User Arnaud Bergeron # Date 1267297814 18000 # Node ID d6672a7daea5afb4c72505da1c1e48c685761bc3 # Parent 224321bf043ad8a8d063b1daa3b19aa47810649b Update comments in the dataset definition (you can't pass 0 as minibatch size). diff -r 224321bf043a -r d6672a7daea5 datasets/dataset.py --- a/datasets/dataset.py Sat Feb 27 13:56:14 2010 -0500 +++ b/datasets/dataset.py Sat Feb 27 14:10:14 2010 -0500 @@ -6,8 +6,7 @@ Returns an iterator over the test examples. Parameters - batchsize (int) -- the size of the minibatches, 0 means - return the whole set at once. + batchsize (int) -- the size of the minibatches bufsize (int, optional) -- the size of the in-memory buffer, 0 to disable. """ @@ -18,8 +17,7 @@ Returns an iterator over the training examples. Parameters - batchsize (int) -- the size of the minibatches, 0 means - return the whole set at once. + batchsize (int) -- the size of the minibatches bufsize (int, optional) -- the size of the in-memory buffer, 0 to disable. """ @@ -30,8 +28,7 @@ Returns an iterator over the validation examples. Parameters - batchsize (int) -- the size of the minibatches, 0 means - return the whole set at once. + batchsize (int) -- the size of the minibatches bufsize (int, optional) -- the size of the in-memory buffer, 0 to disable. """