Marshalling of 'torch' objects

# S3 method for luz_module_fitted
marshal(model, ...)

# S3 method for luz_module_fitted
marshallable(...)

Arguments

model

A luz_module_fitted object.

...

Not used.

Value

A marshalled object as described in marshal().

Details

luz::luz_save() is used to produce a marshalled version of the original object. luz::luz_load() is used to reconstruct a version of the original object from the marshalled object.