Skip to content

Commit

Permalink
This seems to help
Browse files Browse the repository at this point in the history
  • Loading branch information
bartvm committed Jan 17, 2015
1 parent 5c02402 commit ab85ad0
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions blocks/datasets/schemes.py
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,7 @@ def get_request_iterator(self):
raise NotImplementedError


@add_metaclass(ABCMeta)
class BatchSizeScheme(IterationScheme):
"""Iteration scheme that returns batch sizes.
Expand All @@ -43,6 +44,7 @@ class BatchSizeScheme(IterationScheme):
pass


@add_metaclass(ABCMeta)
class BatchScheme(IterationScheme):
"""Iteration schemes that return slices or indices for batches.
Expand Down

0 comments on commit ab85ad0

Please sign in to comment.