From 623d026552b7b68727455382215cb7af4444ca99 Mon Sep 17 00:00:00 2001 From: yuhan Date: Sat, 26 Jul 2025 16:02:54 +0800 Subject: [PATCH] modify config --- docs/lite/api/source_zh_cn/api_cpp/mindspore.md | 16 ++++++++-------- docs/mindspore/source_en/conf.py | 1 + docs/mindspore/source_zh_cn/conf.py | 1 + resource/sphinx_ext/anchor_mod.py | 2 +- resource/sphinx_ext/nodes.txt | 4 ++-- 5 files changed, 13 insertions(+), 11 deletions(-) diff --git a/docs/lite/api/source_zh_cn/api_cpp/mindspore.md b/docs/lite/api/source_zh_cn/api_cpp/mindspore.md index d34f154629..e923e0ac4f 100644 --- a/docs/lite/api/source_zh_cn/api_cpp/mindspore.md +++ b/docs/lite/api/source_zh_cn/api_cpp/mindspore.md @@ -1891,10 +1891,10 @@ void DestroyTensorPtr(MSTensor *tensor) noexcept; | [bool IsConst() const](#isconst) | √ | √ | | [bool IsDevice() const](#isdevice) | √ | ✕ | | [MSTensor *Clone() const](#clone) | √ | √ | -| [bool operator==(std::nullptr_t) const](https://www.mindspore.cn/lite/api/zh-CN/master/api_cpp/mindspore.html#operator==std-nullptr-t) | √ | √ | -| [bool operator!=(std::nullptr_t) const](https://www.mindspore.cn/lite/api/zh-CN/master/api_cpp/mindspore.html#operator!=std-nullptr-t) | √ | √ | -| [bool operator!=(const MSTensor &tensor) const](https://www.mindspore.cn/lite/api/zh-CN/master/api_cpp/mindspore.html#operator!=const-mstensor-tensor) | √ | √ | -| [bool operator==(const MSTensor &tensor) const](https://www.mindspore.cn/lite/api/zh-CN/master/api_cpp/mindspore.html#operator==const-mstensor-tensor) | √ | √ | +| [bool operator==(std::nullptr_t) const](https://www.mindspore.cn/lite/api/zh-CN/master/api_cpp/mindspore.html#operatorstd-nullptr-t) | √ | √ | +| [bool operator!=(std::nullptr_t) const](https://www.mindspore.cn/lite/api/zh-CN/master/api_cpp/mindspore.html#operatorstd-nullptr-t) | √ | √ | +| [bool operator!=(const MSTensor &tensor) const](https://www.mindspore.cn/lite/api/zh-CN/master/api_cpp/mindspore.html#operatorconst-mstensor-tensor) | √ | √ | +| [bool operator==(const MSTensor &tensor) const](https://www.mindspore.cn/lite/api/zh-CN/master/api_cpp/mindspore.html#operatorconst-mstensor-tensor) | √ | √ | | [void SetShape(const std::vector &shape)](#setshape) | √ | √ | | [void SetDataType(enum DataType data_type)](#setdatatype) | √ | √ | | [void SetTensorName(const std::string &name)](#settensorname) | √ | √ | @@ -3497,10 +3497,10 @@ inline Status(const StatusCode code, int line_of_code, const char *file_name, co | [inline std::string SetErrDescription(const std::string &err_description)](#seterrdescription) | √ | √ | | [inline void SetStatusMsg(const std::string &status_msg)](#setstatusmsg) | √ | √ | | [friend std::ostream &operator<<(std::ostream &os, const Status &s)](https://www.mindspore.cn/lite/api/zh-CN/master/api_cpp/mindspore.html#operator<