加入新推出的
Discord 社区,展开实时讨论,获得同行支持,并直接与 Meridian 团队互动!
meridian.model.model.load_mmm
使用集合让一切井井有条
根据您的偏好保存内容并对其进行分类。
从 pickle
文件路径加载模型对象。
meridian.model.model.load_mmm(
file_path: str
) -> meridian.model.model.Meridian
警告:我们无法保证此函数的二进制文件输入的向后兼容性。建议通过与保存模型的序列化文件时所用的相同版本的库来调用 load_mmm()
。
实参 |
file_path
|
用于加载序列化模型对象的文件路径。
|
可能引发的错误 |
FileNotFoundError
|
如果 file_path 不存在,则可能会出现此错误。
|
如未另行说明,那么本页面中的内容已根据知识共享署名 4.0 许可获得了许可,并且代码示例已根据 Apache 2.0 许可获得了许可。有关详情,请参阅 Google 开发者网站政策。Java 是 Oracle 和/或其关联公司的注册商标。
最后更新时间 (UTC):2025-02-13。
[null,null,["最后更新时间 (UTC):2025-02-13。"],[],["The function `load_mmm` loads a model object from a specified `pickle` file path. It takes the file path as input and returns the loaded model object. The function raises a `FileNotFoundError` if the file path doesn't exist. It is recommended to use the same library version for loading as was used for saving, as there's no backward compatibility guarantee for the binary file format.\n"],null,[]]