torch_save {torch} | R Documentation |
Saves an object to a disk file.
Description
This function is experimental, don't use for long term storage.
Usage
torch_save(obj, path, ..., compress = TRUE)
Arguments
obj |
the saved object |
path |
a connection or the name of the file to save. |
... |
not currently used. |
compress |
a logical specifying whether saving to a named file is to use "gzip" compression, or one of "gzip", "bzip2" or "xz" to indicate the type of compression to be used. Ignored if file is a connection. |
See Also
Other torch_save:
torch_load()
,
torch_serialize()
[Package torch version 0.13.0 Index]