From be4ecefa1c5ca545d33b6e37e90b24032252d7b0 Mon Sep 17 00:00:00 2001 From: xuzhen Date: Thu, 27 Nov 2025 16:33:46 +0800 Subject: [PATCH] modify bug --- .../lite_api_python/mindspore_lite/mindspore_lite.Model.rst | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/docs/api/lite_api_python/mindspore_lite/mindspore_lite.Model.rst b/docs/api/lite_api_python/mindspore_lite/mindspore_lite.Model.rst index 0efe1522..7c257ab0 100644 --- a/docs/api/lite_api_python/mindspore_lite/mindspore_lite.Model.rst +++ b/docs/api/lite_api_python/mindspore_lite/mindspore_lite.Model.rst @@ -43,12 +43,12 @@ mindspore_lite.Model 异常: - **TypeError** - `model_bytes` 不是Bytes类型。 - - **TypeError** - `weight_bytes` 既不是Bytes类型也不是``None``。 + - **TypeError** - `weight_bytes` 既不是Bytes类型也不是 ``None`` 。 - **TypeError** - `model_type` 不是ModelType类型。 - **TypeError** - `context` 既不是Context类型也不是 ``None`` 。 - **TypeError** - `config_path` 不是str类型。 - **RuntimeError** - `model_bytes` 长度为0。 - - **RuntimeError** - `model_type` 的值不是``ModelType::MINDIR``。 + - **RuntimeError** - `model_type` 的值不是 ``ModelType::MINDIR`` 。 - **RuntimeError** - `config_path` 文件路径不存在。 - **RuntimeError** - 从 `config_path` 加载配置文件失败。 - **RuntimeError** - 从缓冲区加载并构建模型失败。 -- Gitee