Loads a saved object
torch_load(path, device = "cpu")
a path to the saved object
a device to load tensors to. By default we load to the cpu
but you can also
load them to any cuda
device. If NULL
then the device where the tensor has been saved will
be reused.
Other torch_save:
torch_save()
,
torch_serialize()