Loads a saved object
Arguments
- path
a path to the saved object
- device
a device to load tensors to. By default we load to the
cpu
but you can also load them to anycuda
device. IfNULL
then the device where the tensor has been saved will be reused.
See also
Other torch_save:
torch_save()
,
torch_serialize()