Skip to content

Commit

Permalink
Internal change
Browse files Browse the repository at this point in the history
PiperOrigin-RevId: 704254050
  • Loading branch information
tomvdw authored and The TensorFlow Datasets Authors committed Dec 9, 2024
1 parent 4aa203e commit 5d2c3e5
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
3 changes: 2 additions & 1 deletion tensorflow_datasets/core/utils/shard_utils.py
Original file line number Diff line number Diff line change
Expand Up @@ -20,9 +20,10 @@
- tfrecord_writer, to read sharded bucket files (temp files), based on final
sharding needs.
"""

from __future__ import annotations

from collections.abc import Sequence
from collections.abc import Iterable, Sequence
import dataclasses
import math
import os
Expand Down
1 change: 0 additions & 1 deletion tensorflow_datasets/core/utils/shard_utils_test.py
Original file line number Diff line number Diff line change
Expand Up @@ -240,6 +240,5 @@ def test_incorrect_values(self, filename, skip, take, examples_in_shard, msg):
with self.assertRaisesRegex(ValueError, expected_regex=msg):
shard_utils.FileInstruction(filename, skip, take, examples_in_shard)


if __name__ == '__main__':
testing.test_main()

0 comments on commit 5d2c3e5

Please sign in to comment.