We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 6be0ba5 commit 498ba3fCopy full SHA for 498ba3f
tensorflow_datasets/core/writer.py
@@ -810,7 +810,7 @@ def write_from_pcollection(self, examples_pcollection):
810
self._num_shards
811
)
812
return serialized_examples | "Write" >> self._file_adapter.beam_sink(
813
- filename_template=self._filename_template
+ filename_template=self._filename_template, num_shards=self._num_shards
814
815
816
def finalize(self) -> tuple[list[int], int]:
0 commit comments