torch_serialize {torch} | R Documentation |
Serialize a torch object returning a raw object
Description
It's just a wraper around torch_save()
.
Usage
torch_serialize(obj, ...)
Arguments
obj |
the saved object |
... |
Additional arguments passed to |
Value
A raw vector containing the serialized object. Can be reloaded using
torch_load()
.
See Also
Other torch_save:
torch_load()
,
torch_save()
[Package torch version 0.13.0 Index]