yaroslavvb / stuff

Stuff I uploaded to share online or to access from a different machine
173 stars 40 forks source link

This line can by replaced by function read_up_to #2

Open hkxIron opened 6 years ago

hkxIron commented 6 years ago

https://github.com/yaroslavvb/stuff/blob/8b3cb66cd2bedd90c521e2402cca66afd8a766bd/ericyue-slowreader/benchmark.py#L59

just as following _, serialized_example = reader.read_up_to(filename_queue, enqueue_many_size *batch_size)