From 020aa5a95cfcd7d2da8e31e3189b36683cccc914 Mon Sep 17 00:00:00 2001 From: yuhan Date: Mon, 28 Jul 2025 10:13:50 +0800 Subject: [PATCH] update api compare 2.6.0 --- resource/api_updates/func_api_updates_cn.md | 5 +---- resource/api_updates/func_api_updates_en.md | 5 +---- resource/api_updates/mint_api_updates_cn.md | 11 ++++++++--- resource/api_updates/mint_api_updates_en.md | 7 ++++++- resource/api_updates/nn_api_updates_cn.md | 5 +---- resource/api_updates/nn_api_updates_en.md | 5 +---- resource/api_updates/ops_api_updates_cn.md | 4 +++- resource/api_updates/ops_api_updates_en.md | 4 +++- 8 files changed, 24 insertions(+), 22 deletions(-) diff --git a/resource/api_updates/func_api_updates_cn.md b/resource/api_updates/func_api_updates_cn.md index d1a23e7edf..fa7db74d9b 100644 --- a/resource/api_updates/func_api_updates_cn.md +++ b/resource/api_updates/func_api_updates_cn.md @@ -1,6 +1,3 @@ # mindspore.ops API接口变更 -与上一版本相比,MindSpore中`mindspore.ops`API接口的添加、删除和支持平台的更改信息如下表所示。 - -|API|变更状态|概述|支持平台|类别| -|:----|:----|:----|:----|:----| +与上一版本2.6.0相比,MindSpore中`mindspore.ops`API接口没有变化。 diff --git a/resource/api_updates/func_api_updates_en.md b/resource/api_updates/func_api_updates_en.md index 80481cda88..a90d0bb292 100644 --- a/resource/api_updates/func_api_updates_en.md +++ b/resource/api_updates/func_api_updates_en.md @@ -1,6 +1,3 @@ # mindspore.ops API Interface Change -Compared with the previous version, the added, deleted and supported platforms change information of `mindspore.ops` operators in MindSpore, is shown in the following table. - -|API|Status|Description|Support Platform|Class -|:----|:----|:----|:----|:---- +Compared with the previous version 2.6.0, the information of `mindspore.ops` operators in MindSpore has no changes. diff --git a/resource/api_updates/mint_api_updates_cn.md b/resource/api_updates/mint_api_updates_cn.md index 204722ae98..9d07595eb4 100644 --- a/resource/api_updates/mint_api_updates_cn.md +++ b/resource/api_updates/mint_api_updates_cn.md @@ -1,6 +1,11 @@ # mindspore.mint API接口变更 -与上一版本相比,MindSpore中`mindspore.mint`API接口的添加、删除和支持平台的更改信息如下表所示。 +与上一版本2.6.0相比,MindSpore中`mindspore.mint`API接口的添加、删除和支持平台的更改信息如下表所示。 -|API|变更状态|概述|支持平台|类别| -|:----|:----|:----|:----|:----| +|API|变更状态|概述|支持平台|类别 +|:----|:----|:----|:----|:---- +|[mindspore.mint.distributed.TCPStore](https://mindspore.cn/docs/zh-CN/r2.7.0rc1/api_python/mint/mindspore.mint.distributed.TCPStore.html#mindspore.mint.distributed.TCPStore)|New|一种基于传输控制协议(TCP)的分布式键值存储实现方法。|r2.7.0rc1: Ascend|mindspore.mint.distributed +|[mindspore.mint.floor_divide](https://mindspore.cn/docs/zh-CN/r2.7.0rc1/api_python/mint/mindspore.mint.floor_divide.html#mindspore.mint.floor_divide)|New|按元素将第一个输入Tensor除以第二个输入Tensor,并向下取整。|r2.7.0rc1: Ascend|逐元素运算 +|[mindspore.mint.nn.functional.threshold](https://mindspore.cn/docs/zh-CN/r2.7.0rc1/api_python/mint/mindspore.mint.nn.functional.threshold.html#mindspore.mint.nn.functional.threshold)|New|逐元素计算Threshold激活函数。|r2.7.0rc1: Ascend|非线性激活函数 +|[mindspore.mint.nn.functional.threshold_](https://mindspore.cn/docs/zh-CN/r2.7.0rc1/api_python/mint/mindspore.mint.nn.functional.threshold_.html#mindspore.mint.nn.functional.threshold_)|New|通过逐元素计算 Threshold 激活函数,原地更新 input Tensor。|r2.7.0rc1: Ascend|非线性激活函数 +|[mindspore.mint.nn.Threshold](https://mindspore.cn/docs/zh-CN/r2.7.0rc1/api_python/mint/mindspore.mint.nn.Threshold.html#mindspore.mint.nn.Threshold)|New|逐元素计算Threshold激活函数。|r2.7.0rc1: Ascend|非线性激活层 (加权和,非线性) diff --git a/resource/api_updates/mint_api_updates_en.md b/resource/api_updates/mint_api_updates_en.md index c26d6af8d6..1568ffd4e5 100644 --- a/resource/api_updates/mint_api_updates_en.md +++ b/resource/api_updates/mint_api_updates_en.md @@ -1,6 +1,11 @@ # mindspore.mint API Interface Change -Compared with the previous version, the added, deleted and supported platforms change information of `mindspore.mint` operators in MindSpore, is shown in the following table. +Compared with the previous version 2.6.0, the added, deleted and supported platforms change information of `mindspore.mint` operators in MindSpore, is shown in the following table. |API|Status|Description|Support Platform|Class |:----|:----|:----|:----|:---- +|[mindspore.mint.nn.Threshold](https://mindspore.cn/docs/en/r2.7.0rc1/api_python/mint/mindspore.mint.nn.Threshold.html#mindspore.mint.nn.Threshold)|New|Compute the Threshold activation function element-wise.|r2.7.0rc1: Ascend|Non-linear Activations (weighted sum, nonlinearity) +|[mindspore.mint.nn.functional.threshold](https://mindspore.cn/docs/en/r2.7.0rc1/api_python/mint/mindspore.mint.nn.functional.threshold.html#mindspore.mint.nn.functional.threshold)|New|Compute the Threshold activation function element-wise.|r2.7.0rc1: Ascend|Non-linear activation functions +|[mindspore.mint.nn.functional.threshold_](https://mindspore.cn/docs/en/r2.7.0rc1/api_python/mint/mindspore.mint.nn.functional.threshold_.html#mindspore.mint.nn.functional.threshold_)|New|Update the input tensor in-place by computing the Threshold activation function element-wise.|r2.7.0rc1: Ascend|Non-linear activation functions +|[mindspore.mint.floor_divide](https://mindspore.cn/docs/en/r2.7.0rc1/api_python/mint/mindspore.mint.floor_divide.html#mindspore.mint.floor_divide)|New|Divides the first input tensor by the second input tensor element-wise and round down to the closest integer.|r2.7.0rc1: Ascend|Pointwise Operations +|[mindspore.mint.distributed.TCPStore](https://mindspore.cn/docs/en/r2.7.0rc1/api_python/mint/mindspore.mint.distributed.TCPStore.html#mindspore.mint.distributed.TCPStore)|New|A TCP-based distributed key-value store implementation.|r2.7.0rc1: Ascend|mindspore.mint.distributed diff --git a/resource/api_updates/nn_api_updates_cn.md b/resource/api_updates/nn_api_updates_cn.md index 917a1870ad..d47ba4acaa 100644 --- a/resource/api_updates/nn_api_updates_cn.md +++ b/resource/api_updates/nn_api_updates_cn.md @@ -1,6 +1,3 @@ # mindspore.nn API接口变更 -与上一版本相比,MindSpore中`mindspore.nn`API接口的添加、删除和支持平台的更改信息如下表所示。 - -|API|变更状态|概述|支持平台|类别 -|:----|:----|:----|:----|:---- +与上一版本2.6.0相比,MindSpore中`mindspore.nn`API接口没有变化。 diff --git a/resource/api_updates/nn_api_updates_en.md b/resource/api_updates/nn_api_updates_en.md index c8922d2324..ffc92e0d68 100644 --- a/resource/api_updates/nn_api_updates_en.md +++ b/resource/api_updates/nn_api_updates_en.md @@ -1,6 +1,3 @@ # mindspore.nn API Interface Change -Compared with the previous version, the added, deleted and supported platforms change information of `mindspore.nn` operators in MindSpore, is shown in the following table. - -|API|Status|Description|Support Platform|Class -|:----|:----|:----|:----|:---- +Compared with the previous version 2.6.0, the information of `mindspore.nn` operators in MindSpore has no changes. diff --git a/resource/api_updates/ops_api_updates_cn.md b/resource/api_updates/ops_api_updates_cn.md index 9aed66141d..3f42a2791f 100644 --- a/resource/api_updates/ops_api_updates_cn.md +++ b/resource/api_updates/ops_api_updates_cn.md @@ -1,6 +1,8 @@ # mindspore.ops.primitive API接口变更 -与上一版本相比,MindSpore中`mindspore.ops.primitive`API接口的添加、删除和支持平台的更改信息如下表所示。 +与上一版本2.6.0相比,MindSpore中`mindspore.ops.primitive`API接口的添加、删除和支持平台的更改信息如下表所示。 |API|变更状态|概述|支持平台|类别 |:----|:----|:----|:----|:---- +|[mindspore.ops.AllGatherV](https://mindspore.cn/docs/zh-CN/r2.7.0rc1/api_python/ops/mindspore.ops.AllGatherV.html#mindspore.ops.AllGatherV)|New|从指定的通信组中收集不均匀的张量,并返回全部收集的张量。|r2.7.0rc1: Ascend/GPU|通信算子 +|[mindspore.ops.ReduceScatterV](https://mindspore.cn/docs/zh-CN/r2.7.0rc1/api_python/ops/mindspore.ops.ReduceScatterV.html#mindspore.ops.ReduceScatterV)|New|规约并且分发指定通信组中不均匀的张量,返回分发后的张量。|r2.7.0rc1: Ascend/GPU|通信算子 diff --git a/resource/api_updates/ops_api_updates_en.md b/resource/api_updates/ops_api_updates_en.md index abe25f52b6..6bacfce000 100644 --- a/resource/api_updates/ops_api_updates_en.md +++ b/resource/api_updates/ops_api_updates_en.md @@ -1,6 +1,8 @@ # mindspore.ops.primitive API Interface Change -Compared with the previous version, the added, deleted and supported platforms change information of `mindspore.ops.primitive` operators in MindSpore, is shown in the following table. +Compared with the previous version 2.6.0, the added, deleted and supported platforms change information of `mindspore.ops.primitive` operators in MindSpore, is shown in the following table. |API|Status|Description|Support Platform|Class |:----|:----|:----|:----|:---- +|[mindspore.ops.AllGatherV](https://mindspore.cn/docs/en/r2.7.0rc1/api_python/ops/mindspore.ops.AllGatherV.html#mindspore.ops.AllGatherV)|New|Gathers uneven tensors from the specified communication group and returns the tensor which is all gathered.|r2.7.0rc1: Ascend/GPU|Communication Operator +|[mindspore.ops.ReduceScatterV](https://mindspore.cn/docs/en/r2.7.0rc1/api_python/ops/mindspore.ops.ReduceScatterV.html#mindspore.ops.ReduceScatterV)|New|Reduces and scatters uneven tensors from the specified communication group and returns the tensor which is reduced and scattered.|r2.7.0rc1: Ascend/GPU|Communication Operator -- Gitee