Skip to content
This repository has been archived by the owner on Jan 15, 2024. It is now read-only.

Commit

Permalink
[FIX] Remove unused code (#528)
Browse files Browse the repository at this point in the history
  • Loading branch information
eric-haibin-lin committed Jan 8, 2019
1 parent a121733 commit 5577a37
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion src/gluonnlp/data/stream.py
Original file line number Diff line number Diff line change
Expand Up @@ -202,7 +202,6 @@ def _get_sampler(self, sampler):
'a `gluon.data.Sampler`, but got %s'%(sampler))

def __iter__(self):
file_sampler = self._get_sampler(self._file_sampler)
# generate file samples
for file_idx in iter(self._file_sampler):
filename = self._files[file_idx]
Expand Down

0 comments on commit 5577a37

Please sign in to comment.