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
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.Optional. A lookup table that maps string
keys to custom functions to be used as parameters in various
tfp.distributions
.


