Added first_key and last_key to dataset#1288
Conversation
|
@shelhamer agreed, I'm waiting the confirmation from @kmatzen to merge #1238 |
Added first_key and last_key to dataset
|
We already recognize the beginning and end records for restarting prefetching, could you explain the use case for needing the first and last key instead? |
|
To be able to know which is the first_key and the last_key without needing Sergio 2014-10-18 10:06 GMT-07:00 Evan Shelhamer notifications@github.com:
|
Added first_key and last_key to dataset
This PR depends on #1238.
Just added two more methods to
datasetto be able to know which is the first_key and last_key. This would be very useful when the keys are generated sequentially.@kmatzen Could you take a look?