diff options
author | Alex Auvolat <alex@adnab.me> | 2016-03-08 13:26:28 +0100 |
---|---|---|
committer | Alex Auvolat <alex@adnab.me> | 2016-03-08 13:26:28 +0100 |
commit | 2f479926c16d2911d0dd878c21de082abfc5b237 (patch) | |
tree | b399e9ad9af04a9449334dff1a47449808b7ca13 /datastream.py | |
parent | 23093608e0edc43477c3a2ed804ae1016790f7e4 (diff) | |
download | text-rnn-2f479926c16d2911d0dd878c21de082abfc5b237.tar.gz text-rnn-2f479926c16d2911d0dd878c21de082abfc5b237.zip |
Revive project
Diffstat (limited to 'datastream.py')
-rw-r--r-- | datastream.py | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/datastream.py b/datastream.py index 8025945..b7aae25 100644 --- a/datastream.py +++ b/datastream.py @@ -38,6 +38,7 @@ class BinaryFileDataset(Dataset): return os.fstat(self.f.fileno()).st_size class RandomBlockIterator(IterationScheme): + requests_examples=True def __init__(self, item_range, seq_len, num_seqs_per_epoch, **kwargs): self.seq_len = seq_len self.num_seqs = num_seqs_per_epoch |