Closed dwf closed 8 years ago
I understand you right, your point is that very often the only method of a data stream that is actually called is get_epoch_iterator
. Thus, it makes sense to make all other methods optional.
If my understanding is correct, I approve this change. I guess you still have to rebase.
@rizar I made everything but get_epoch_iterator
optional. Waiting on a Theano fix to Theano/Theano#5088 to un-break our tests.
I've noticed that it's often a lot more expedient to stub out
get_data
if all you care is epoch iterators, so we might as well make it an optional implement.