MCPcopy Create free account
hub / github.com/tensorflow/datasets / load_metadata

Method load_metadata

tensorflow_datasets/core/dataset_info.py:1404–1407  ·  view source on GitHub ↗

Restore the metadata.

(self, data_dir)

Source from the content-addressed store, hash-verified

1402 json.dump(self, f)
1403
1404 def load_metadata(self, data_dir):
1405 """Restore the metadata."""
1406 self.clear()
1407 self.update(_load_metadata_from_file(data_dir))
1408
1409
1410class LazyMetadataDict(MetadataDict):

Callers

nothing calls this directly

Calls 3

_load_metadata_from_fileFunction · 0.85
clearMethod · 0.80
updateMethod · 0.45

Tested by

no test coverage detected