diff --git a/resource/api_updates/func_api_updates_cn.md b/resource/api_updates/func_api_updates_cn.md index d1a23e7edfc70d48cce0da347d53dac0385783a7..ef9bb93a45034467221129d001645a7c0bf665b3 100644 --- a/resource/api_updates/func_api_updates_cn.md +++ b/resource/api_updates/func_api_updates_cn.md @@ -1,6 +1,7 @@ # mindspore.ops API接口变更 -与上一版本相比,MindSpore中`mindspore.ops`API接口的添加、删除和支持平台的更改信息如下表所示。 +与上一版本 2.6.0 相比,MindSpore中`mindspore.ops`API接口的添加、删除和支持平台的更改信息如下表所示。 |API|变更状态|概述|支持平台|类别| |:----|:----|:----|:----|:----| +[mindspore.ops.ring_attention_update](https://mindspore.cn/docs/zh-CN/r2.7.0/api_python/ops/mindspore.ops.ring_attention_update.html#mindspore.ops.ring_attention_update)|New|RingAttentionUpdate算子功能是将两次FlashAttention的输出根据其不同的softmax的max和sum更新。|r2.7.0: Ascend|神经网络 \ No newline at end of file diff --git a/resource/api_updates/func_api_updates_en.md b/resource/api_updates/func_api_updates_en.md index 80481cda88d44033605183e2b5b0c0d63018787c..f4bd6827452dcc94b5c6c35d7efb19dd11cc9e21 100644 --- a/resource/api_updates/func_api_updates_en.md +++ b/resource/api_updates/func_api_updates_en.md @@ -1,6 +1,7 @@ # 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. +Compared with the previous version 2.6.0, 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 |:----|:----|:----|:----|:---- +[mindspore.ops.ring_attention_update](https://mindspore.cn/docs/en/r2.7.0/api_python/ops/mindspore.ops.ring_attention_update.html#mindspore.ops.ring_attention_update)|New|The RingAttentionUpdate operator updates the output of two FlashAttention operations based on their respective softmax max and softmax sum values.|r2.7.0: Ascend|Neural Network \ No newline at end of file diff --git a/resource/api_updates/mint_api_updates_cn.md b/resource/api_updates/mint_api_updates_cn.md index 204722ae98f65c62cda58d28b23c3972392bba90..706e77426d9bfe39ecdfa057f1fdf73d233ae3b8 100644 --- a/resource/api_updates/mint_api_updates_cn.md +++ b/resource/api_updates/mint_api_updates_cn.md @@ -1,6 +1,13 @@ # mindspore.mint API接口变更 -与上一版本相比,MindSpore中`mindspore.mint`API接口的添加、删除和支持平台的更改信息如下表所示。 +与上一版本 2.6.0 相比,MindSpore中`mindspore.mint`API接口的添加、删除和支持平台的更改信息如下表所示。 |API|变更状态|概述|支持平台|类别| |:----|:----|:----|:----|:----| +[mindspore.mint.distributed.TCPStore](https://mindspore.cn/docs/zh-CN/r2.7.0/api_python/mint/mindspore.mint.distributed.TCPStore.html#mindspore.mint.distributed.TCPStore)|New|一种基于传输控制协议(TCP)的分布式键值存储实现方法。|r2.7.0: Ascend|mindspore.mint.distributed +[mindspore.mint.distributed.all_gather_into_tensor_uneven](https://mindspore.cn/docs/zh-CN/r2.7.0/api_python/mint/mindspore.mint.distributed.all_gather_into_tensor_uneven.html#mindspore.mint.distributed.all_gather_into_tensor_uneven)|New|收集并拼接各设备上的张量,各设备上的张量第一维可以不一致。|r2.7.0: Ascend|mindspore.mint.distributed +[mindspore.mint.distributed.reduce_scatter_tensor_uneven](https://mindspore.cn/docs/zh-CN/r2.7.0/api_python/mint/mindspore.mint.distributed.reduce_scatter_tensor_uneven.html#mindspore.mint.distributed.reduce_scatter_tensor_uneven)|New|在指定通信组中执行归约分发操作,根据 input_split_sizes 将归约后的张量分散到各rank的输出张量中。|r2.7.0: Ascend|mindspore.mint.distributed +[mindspore.mint.floor_divide](https://mindspore.cn/docs/zh-CN/r2.7.0/api_python/mint/mindspore.mint.floor_divide.html#mindspore.mint.floor_divide)|New|按元素将第一个输入Tensor除以第二个输入Tensor,并向下取整。|r2.7.0: Ascend|逐元素运算 +[mindspore.mint.nn.functional.threshold](https://mindspore.cn/docs/zh-CN/r2.7.0/api_python/mint/mindspore.mint.nn.functional.threshold.html#mindspore.mint.nn.functional.threshold)|New|逐元素计算Threshold激活函数。|r2.7.0: Ascend|非线性激活函数 +[mindspore.mint.nn.functional.threshold_](https://mindspore.cn/docs/zh-CN/r2.7.0/api_python/mint/mindspore.mint.nn.functional.threshold_.html#mindspore.mint.nn.functional.threshold_)|New|通过逐元素计算 Threshold 激活函数,原地更新 input Tensor。|r2.7.0: Ascend|非线性激活函数 +[mindspore.mint.nn.Threshold](https://mindspore.cn/docs/zh-CN/r2.7.0/api_python/mint/mindspore.mint.nn.Threshold.html#mindspore.mint.nn.Threshold)|New|逐元素计算Threshold激活函数。|r2.7.0: Ascend|非线性激活层 (加权和,非线性) \ No newline at end of file diff --git a/resource/api_updates/mint_api_updates_en.md b/resource/api_updates/mint_api_updates_en.md index c26d6af8d69287f9d848c06f96de8a8b7d7cd237..0b219d68246957c500ae3033460427bce3f67a1b 100644 --- a/resource/api_updates/mint_api_updates_en.md +++ b/resource/api_updates/mint_api_updates_en.md @@ -1,6 +1,13 @@ # 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.0/api_python/mint/mindspore.mint.nn.Threshold.html#mindspore.mint.nn.Threshold)|New|Compute the Threshold activation function element-wise.|r2.7.0: Ascend|Non-linear Activations (weighted sum, nonlinearity) +[mindspore.mint.nn.functional.threshold](https://mindspore.cn/docs/en/r2.7.0/api_python/mint/mindspore.mint.nn.functional.threshold.html#mindspore.mint.nn.functional.threshold)|New|Compute the Threshold activation function element-wise.|r2.7.0: Ascend|Non-linear activation functions +[mindspore.mint.nn.functional.threshold_](https://mindspore.cn/docs/en/r2.7.0/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.0: Ascend|Non-linear activation functions +[mindspore.mint.floor_divide](https://mindspore.cn/docs/en/r2.7.0/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.0: Ascend|Pointwise Operations +[mindspore.mint.distributed.TCPStore](https://mindspore.cn/docs/en/r2.7.0/api_python/mint/mindspore.mint.distributed.TCPStore.html#mindspore.mint.distributed.TCPStore)|New|A TCP-based distributed key-value store implementation.|r2.7.0: Ascend|mindspore.mint.distributed +[mindspore.mint.distributed.all_gather_into_tensor_uneven](https://mindspore.cn/docs/en/r2.7.0/api_python/mint/mindspore.mint.distributed.all_gather_into_tensor_uneven.html#mindspore.mint.distributed.all_gather_into_tensor_uneven)|New|Gathers and concatenates tensors across devices with uneven first dimensions.|r2.7.0: Ascend|mindspore.mint.distributed +[mindspore.mint.distributed.reduce_scatter_tensor_uneven](https://mindspore.cn/docs/en/r2.7.0/api_python/mint/mindspore.mint.distributed.reduce_scatter_tensor_uneven.html#mindspore.mint.distributed.reduce_scatter_tensor_uneven)|New|Reduce tensors from the specified communication group and scatter to the output tensor according to input_split_sizes.|r2.7.0: 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 917a1870adacfa2a30036cb4b79c9e5e156fe0b9..d677dad69d666949960818fa73016125ddd5a316 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 c8922d23243877bb3a26ac21128708b631e962a6..ffc92e0d68d576df53ee8f36265fc05453009b17 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 9aed66141d3efb4f78beaafd3bf907fccae8065e..fca73bbce4fbb14ff7ee6e1471fac3644d06b500 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.0/api_python/ops/mindspore.ops.AllGatherV.html#mindspore.ops.AllGatherV)|New|从指定的通信组中收集不均匀的张量,并返回全部收集的张量。|r2.7.0: Ascend/GPU|通信算子 +[mindspore.ops.ReduceScatterV](https://mindspore.cn/docs/zh-CN/r2.7.0/api_python/ops/mindspore.ops.ReduceScatterV.html#mindspore.ops.ReduceScatterV)|New|规约并且分发指定通信组中不均匀的张量,返回分发后的张量。|r2.7.0: Ascend/GPU|通信算子 diff --git a/resource/api_updates/ops_api_updates_en.md b/resource/api_updates/ops_api_updates_en.md index abe25f52b6fabc238a5d9be3be09db6d0c6eca94..bd3a7fd689130e03eb89d1f8e68a6e7f0ded1f83 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.0/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.0: Ascend/GPU|Communication Operator +[mindspore.ops.ReduceScatterV](https://mindspore.cn/docs/en/r2.7.0/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.0: Ascend/GPU|Communication Operator \ No newline at end of file