TFRecords sharded filenames
csterling opened this issue · 1 comments
csterling commented
Currently the generated/expected filenames for shard files in the TFRecords format are:
[base]-XXXXX-of-YYYYY
where [base]
is the base filename given to the reader/writer.
If [base]
contains an extension, it would be more logical to format as:
[base_without_extension]-XXXXX-of-YYYYY.[extension]
Other formatting variations may be desirable as well, e.g. changing the number of digits of X and Y.
Add the ability to specify formatting for sharded filenames.