MCPcopy Index your code
hub / github.com/tensorflow/datasets / replace

Method replace

tensorflow_datasets/core/splits.py:251–253  ·  view source on GitHub ↗

Returns a copy of the `SplitInfo` with updated attributes.

(self, **kwargs: Any)

Source from the content-addressed store, hash-verified

249 return sorted(self.filename_template.sharded_filepaths(self.num_shards))
250
251 def replace(self, **kwargs: Any) -> SplitInfo:
252 """Returns a copy of the `SplitInfo` with updated attributes."""
253 return dataclasses.replace(self, **kwargs)
254
255 def file_spec(
256 self, file_format: str | file_adapters.FileFormat

Callers 15

process_fileMethod · 0.45
_generate_examplesMethod · 0.45
_load_csv_filesFunction · 0.45
_generate_examplesMethod · 0.45
_formatMethod · 0.45
clean_import_in_protoFunction · 0.45
clean_packageFunction · 0.45
change_imports_in_pyFunction · 0.45
get_writerMethod · 0.45

Calls

no outgoing calls