Skip to content

loads

Module: strata.io • Kind: function
Source: strata/io/serializer.mojo

def loads[T: Serializable](bytes: List[UInt8]) -> T
from strata.io import loads

Deserializes a fitted estimator or transformer from an in-memory byte buffer.


Parameter Type Description
T — Concrete model struct type.

Returns: T — T: Restored model instance with fitted state intact.