ray.train.torch.TorchCheckpoint.from_uri
ray.train.torch.TorchCheckpoint.from_uri#
- classmethod TorchCheckpoint.from_uri(uri: str) ray.air.checkpoint.Checkpoint#
Create checkpoint object from location URI (e.g. cloud storage).
Valid locations currently include AWS S3 (
s3://), Google cloud storage (gs://), HDFS (hdfs://), and local files (file://).- Parameters
uri – Source location URI to read data from.
- Returns
checkpoint object.
- Return type