Join the newly launched
Discord community for real-time discussions, peer support, and direct interaction with the Meridian team!
schema.serde.meridian_serde.save_meridian
Stay organized with collections
Save and categorize content based on your preferences.
Save the model object as an MmmKernel proto in the given filepath.
schema.serde.meridian_serde.save_meridian(
mmm: model.Meridian,
file_path: str,
distribution_function_registry: (schema.serde.distribution.FunctionRegistry | None) = None,
eda_function_registry: (schema.serde.distribution.FunctionRegistry | None) = None
)
Supported file types |
- binpb (wire-format proto)
- txtpb (text-format proto)
- textproto (text-format proto)
|
Args |
mmm
|
Model object to save.
|
file_path
|
File path to save a serialized model object. If the file name
ends with .binpb, it will be saved in the wire-format. If the filename
ends with .txtpb or .textproto, it will be saved in the text-format.
|
distribution_function_registry
|
Optional. 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.
|
Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License, and code samples are licensed under the Apache 2.0 License. For details, see the Google Developers Site Policies. Java is a registered trademark of Oracle and/or its affiliates.
Last updated 2025-11-13 UTC.
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Missing the information I need","missingTheInformationINeed","thumb-down"],["Too complicated / too many steps","tooComplicatedTooManySteps","thumb-down"],["Out of date","outOfDate","thumb-down"],["Samples / code issue","samplesCodeIssue","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-11-13 UTC."],[],[]]