Mercurial > pylearn
changeset 338:7d4792fc28ae
Automated merge with ssh://projects@lgcm.iro.umontreal.ca/hg/pylearn
author | Frederic Bastien <bastienf@iro.umontreal.ca> |
---|---|
date | Mon, 16 Jun 2008 17:17:50 -0400 |
parents | 5e38ed2b3a75 (diff) 0ce6e62ac6e5 (current diff) |
children | d96be0eba3cc |
files | dataset.py |
diffstat | 1 files changed, 2 insertions(+), 0 deletions(-) [+] |
line wrap: on
line diff
--- a/dataset.py Mon Jun 16 17:07:44 2008 -0400 +++ b/dataset.py Mon Jun 16 17:17:50 2008 -0400 @@ -388,6 +388,8 @@ assert offset >= 0 assert offset < len(self) assert offset + minibatch_size -1 < len(self) + if fieldnames == None : + fieldnames = self.fieldNames() return self.minibatches_nowrap(fieldnames,minibatch_size,n_batches,offset) def minibatches_nowrap(self,fieldnames,minibatch_size,n_batches,offset):