From d2029496bd9e7cc8fc67b85c8c283c1c3ed62240 Mon Sep 17 00:00:00 2001 From: yangyingchun Date: Tue, 22 Jul 2025 11:09:51 +0800 Subject: [PATCH] fix/add define --- docs/lite/api/source_zh_cn/api_c/model_c.md | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/docs/lite/api/source_zh_cn/api_c/model_c.md b/docs/lite/api/source_zh_cn/api_c/model_c.md index 0c5133ba4e..36525cb436 100644 --- a/docs/lite/api/source_zh_cn/api_c/model_c.md +++ b/docs/lite/api/source_zh_cn/api_c/model_c.md @@ -47,6 +47,16 @@ Model定义了MindSpore中编译和运行的模型。 | [MSStatus MSExportModelBuffer(MSModelHandle model, MSModelType model_type, char **model_data, size_t *data_size,MSQuantizationType quantization_type, bool export_inference_only,char **output_tensor_name, size_t num)](#msexportmodelbuffer) | | [MSStatus MSExportWeightsCollaborateWithMicro(MSModelHandle model, MSModelType model_type,const char *weight_file, bool is_inference, bool enable_fp16,char **changeable_weights_name, size_t num)](#msexportweightscollaboratewithmicro) | +### 定义 + +#### MS_MAX_SHAPE_NUM + +```C +#define MS_MAX_SHAPE_NUM 32 +``` + +MSTensor最大支持的维度为`MS_MAX_SHAPE_NUM`。 + ### 公有函数 #### MSModelCreate -- Gitee