Serialize a torch object returning a raw object
It's just a wraper around torch_save()
.
torch_serialize(obj, ...)
obj
: the saved object...
: Additional arguments passed to torch_save()
. obj
and path
are not accepted as they are set by torch_serialize()
.A raw vector containing the serialized object. Can be reloaded using torch_load()
.
Other torch_save: torch_load()
, torch_save()
Useful links