Skip to contents

It's just a wraper around torch_save().

Usage

torch_serialize(obj, ...)

Arguments

obj

the saved object

...

Additional arguments passed to torch_save(). obj and path are not accepted as they are set by torch_serialize().

Value

A raw vector containing the serialized object. Can be reloaded using torch_load().

See also

Other torch_save: torch_load(), torch_save()