schema.serde.meridian_serde.load_meridian

Load the model object from an MmmKernel proto file path.

- binpb (wire-format proto) - txtpb (text-format proto) - textproto (text-format proto)

file_path
File path to load a serialized model object from.
distribution_function_registry
A lookup table that maps string keys to custom functions to be used as parameters in various tfp.distributions .
eda_function_registry
A lookup table that maps string keys to custom functions to be used in EDASpec .
force_deserialization
If True, bypasses the safety check that validates whether functions within a function registry have changed after serialization. Use with caution. This should only be used if you have intentionally modified a custom function and are confident that the changes will not affect the deserialized model. A safer alternative is to first deserialize the model with the original functions and then serialize it with the new ones.

Model object loaded from the file path.

Design a Mobile Site
View Site in Mobile | Classic
Share by: