已合并
modified md files (aclnnMultiScaleDeformableAttentionGrad.md and aclnnLinalgVectorNorm.md) #8458
gitee-duhuiping创建于 18 天前
modified md files (aclnnMultiScaleDeformableAttentionGrad.md and aclnnLinalgVectorNorm.md) #8458
已合并
共 4 个文件变更+30-20
| @@ -344,7 +344,7 @@ | |||
| 344 | | [aclnnMseLossOut](../../loss/mse_loss/docs/aclnnMseLossOut.md) | 计算输入x和目标y中每个元素之间的均方误差。 | 默认确定性实现 | 默认确定性实现 | | 344 | | [aclnnMseLossOut](../../loss/mse_loss/docs/aclnnMseLossOut.md) | 计算输入x和目标y中每个元素之间的均方误差。 | 默认确定性实现 | 默认确定性实现 | |
| 345 | | [aclnnMultilabelMarginLoss](../../loss/multilabel_margin_loss/docs/aclnnMultilabelMarginLoss.md) | 计算多标签分类的间隔损失值。 | 默认非确定性实现,不支持配置开启 | 默认非确定性实现,不支持配置开启 | | 345 | | [aclnnMultilabelMarginLoss](../../loss/multilabel_margin_loss/docs/aclnnMultilabelMarginLoss.md) | 计算多标签分类的间隔损失值。 | 默认非确定性实现,不支持配置开启 | 默认非确定性实现,不支持配置开启 | |
| 346 | | [aclnnMultiScaleDeformableAttnFunction](../../vfusion/multi_scale_deformable_attn_function/docs/aclnnMultiScaleDeformableAttnFunction.md) | 通过指定参数来遍历不同尺寸特征图的不同采样点。 | 默认确定性实现 | 默认非确定性实现,支持配置开启。 | | 346 | | [aclnnMultiScaleDeformableAttnFunction](../../vfusion/multi_scale_deformable_attn_function/docs/aclnnMultiScaleDeformableAttnFunction.md) | 通过指定参数来遍历不同尺寸特征图的不同采样点。 | 默认确定性实现 | 默认非确定性实现,支持配置开启。 | |
| 347 | -| [aclnnMultiScaleDeformableAttentionGrad](../../vfusion/multi_scale_deformable_attention_grad/docs/aclnnMultiScaleDeformableAttentionGrad.md) | 正向算子功能主要通过指定参数来遍历不同尺寸特征图的不同采样点。而反向算子的功能为根据正向的输入对输出的贡献及初始梯度求出输入对应的梯度。 | 默认非确定性实现,支持配置开启。 | - | | 347 | +| [aclnnMultiScaleDeformableAttentionGrad](../../vfusion/multi_scale_deformable_attention_grad/docs/aclnnMultiScaleDeformableAttentionGrad.md) | 正向算子功能主要通过指定参数来遍历不同尺寸特征图的不同采样点。而反向算子的功能为根据正向的输入对输出的贡献及初始梯度求出输入对应的梯度。 | 默认非确定性实现,支持配置开启。 | 默认非确定性实现,支持配置开启。 | |
| 348 | | [aclnnMv](../../matmul/mv/docs/aclnnMv.md) | 计算矩阵input与向量vec的乘积。 | - | 默认确定性实现 | | 348 | | [aclnnMv](../../matmul/mv/docs/aclnnMv.md) | 计算矩阵input与向量vec的乘积。 | - | 默认确定性实现 | |
| 349 | | [aclnnNanMedian](../../index/gather_v2/docs/aclnnNanMedian.md) | 忽略NAN后,返回所有元素的中位数。 | 默认确定性实现 | 默认确定性实现 | | 349 | | [aclnnNanMedian](../../index/gather_v2/docs/aclnnNanMedian.md) | 忽略NAN后,返回所有元素的中位数。 | 默认确定性实现 | 默认确定性实现 | |
| 350 | | [aclnnNanMedianDim](../../index/gather_v2/docs/aclnnNanMedianDim.md) | 忽略NAN后,返回Tensor指定维度求中位数及所在位置。 | 默认确定性实现 | 默认确定性实现 | | 350 | | [aclnnNanMedianDim](../../index/gather_v2/docs/aclnnNanMedianDim.md) | 忽略NAN后,返回Tensor指定维度求中位数及所在位置。 | 默认确定性实现 | 默认确定性实现 | |
| @@ -190,8 +190,8 @@ aclnnStatus aclnnLinalgVectorNorm( | |||
| 190 | <td>传入的self、ord、dims或out参数是空指针。</td> | 190 | <td>传入的self、ord、dims或out参数是空指针。</td> |
| 191 | </tr> | 191 | </tr> |
| 192 | <tr> | 192 | <tr> |
| 193 | - <td rowspan="8">ACLNN_ERR_PARAM_INVALID</td> | 193 | + <td rowspan="7">ACLNN_ERR_PARAM_INVALID</td> |
| 194 | - <td rowspan="8">161002</td> | 194 | + <td rowspan="7">161002</td> |
| 195 | </tr> | 195 | </tr> |
| 196 | <tr> | 196 | <tr> |
| 197 | <td>dims超过[-N, N-1] (N表示self的维度)。</td> | 197 | <td>dims超过[-N, N-1] (N表示self的维度)。</td> |
| @@ -205,9 +205,6 @@ aclnnStatus aclnnLinalgVectorNorm( | |||
| 205 | <tr> | 205 | <tr> |
| 206 | <td>dims中数值重复。</td> | 206 | <td>dims中数值重复。</td> |
| 207 | </tr> | 207 | </tr> |
| 208 | - <tr> | ||
| 209 | - <td>ord的值不在支持范围内。</td> | ||
| 210 | - </tr> | ||
| 211 | <tr> | 208 | <tr> |
| 212 | <td>self或out的shape超过8维。</td> | 209 | <td>self或out的shape超过8维。</td> |
| 213 | </tr> | 210 | </tr> |
| @@ -2,10 +2,14 @@ | |||
| 2 | 2 | ||
| 3 | ## 产品支持情况 | 3 | ## 产品支持情况 |
| 4 | 4 | ||
| 5 | -| 产品 | 是否支持 | | 5 | +|产品 | 是否支持 | |
| 6 | -| :----------------------------------------------------------- | :------: | | 6 | +|:-------------------------|:----------:| |
| 7 | -| <term>Atlas A3 训练系列产品/Atlas A3 推理系列产品</term> | √ | | 7 | +| <term>Ascend 950PR/Ascend 950DT</term> | √ | |
| 8 | -| <term>Atlas A2 训练系列产品/Atlas A2 推理系列产品</term> | √ | | 8 | +| <term>Atlas A3 训练系列产品/Atlas A3 推理系列产品</term> | √ | |
| 9 | +| <term>Atlas A2 训练系列产品/Atlas A2 推理系列产品</term> | √ | | ||
| 10 | +| <term>Atlas 200I/500 A2 推理产品</term> | × | | ||
| 11 | +| <term>Atlas 推理系列产品</term> | × | | ||
| 12 | +| <term>Atlas 训练系列产品</term> | × | | ||
| 9 | 13 | ||
| 10 | ## 功能说明 | 14 | ## 功能说明 |
| 11 | 15 | ||
| @@ -2,12 +2,24 @@ | |||
| 2 | 2 | ||
| 3 | ## 产品支持情况 | 3 | ## 产品支持情况 |
| 4 | 4 | ||
| 5 | -<!-- npu="A3" id1 --> | 5 | +<!-- npu="950" id1 --> |
| 6 | -- <term>Atlas A3 训练系列产品/Atlas A3 推理系列产品</term>:支持 | 6 | +- <term>Ascend 950PR/Ascend 950DT</term>:支持 |
| 7 | <!-- end id1 --> | 7 | <!-- end id1 --> |
| 8 | -<!-- npu="910b" id2 --> | 8 | +<!-- npu="A3" id2 --> |
| 9 | -- <term>Atlas A2 训练系列产品/Atlas A2 推理系列产品</term>:支持 | 9 | +- <term>Atlas A3 训练系列产品/Atlas A3 推理系列产品</term>:支持 |
| 10 | <!-- end id2 --> | 10 | <!-- end id2 --> |
| 11 | +<!-- npu="910b" id3 --> | ||
| 12 | +- <term>Atlas A2 训练系列产品/Atlas A2 推理系列产品</term>:支持 | ||
| 13 | +<!-- end id3 --> | ||
| 14 | +<!-- npu="310b" id4 --> | ||
| 15 | +- <term>Atlas 200I/500 A2 推理产品</term>:不支持 | ||
| 16 | +<!-- end id4 --> | ||
| 17 | +<!-- npu="310p" id5 --> | ||
| 18 | +- <term>Atlas 推理系列产品</term>:不支持 | ||
| 19 | +<!-- end id5 --> | ||
| 20 | +<!-- npu="910" id6 --> | ||
| 21 | +- <term>Atlas 训练系列产品</term>:不支持 | ||
| 22 | +<!-- end id6 --> | ||
| 11 | 23 | ||
| 12 | ## 功能说明 | 24 | ## 功能说明 |
| 13 | 25 | ||
| @@ -201,13 +213,10 @@ aclnnStatus aclnnMultiScaleDeformableAttentionGrad( | |||
| 201 | <td>传入的输入或输出是空指针。</td> | 213 | <td>传入的输入或输出是空指针。</td> |
| 202 | </tr> | 214 | </tr> |
| 203 | <tr> | 215 | <tr> |
| 204 | - <td rowspan="3">ACLNN_ERR_PARAM_INVALID</td> | 216 | + <td rowspan="2">ACLNN_ERR_PARAM_INVALID</td> |
| 205 | - <td rowspan="3">161002</td> | 217 | + <td rowspan="2">161002</td> |
| 206 | <td>输入和输出的数据类型不在支持的范围之内。</td> | 218 | <td>输入和输出的数据类型不在支持的范围之内。</td> |
| 207 | </tr> | 219 | </tr> |
| 208 | - <tr> | ||
| 209 | - <td>输入输出数据类型不一致。</td> | ||
| 210 | - </tr> | ||
| 211 | <tr> | 220 | <tr> |
| 212 | <td>不满足接口约束说明章节。</td> | 221 | <td>不满足接口约束说明章节。</td> |
| 213 | </tr> | 222 | </tr> |
| @@ -254,7 +263,7 @@ aclnnStatus aclnnMultiScaleDeformableAttentionGrad( | |||
| 254 | ## 约束说明 | 263 | ## 约束说明 |
| 255 | 264 | ||
| 256 | - 确定性计算 | 265 | - 确定性计算 |
| 257 | - - aclnnMultiScaleDeformableAttentionGrad默认非确定性实现,暂不支持确定性实现。 | 266 | + - aclnnMultiScaleDeformableAttentionGrad默认非确定性实现,支持通过aclrtCtxSetSysParamOpt开启确定性。 |
| 258 | 267 | ||
| 259 | - 通道数channels%8 = 0,且channels<=256 | 268 | - 通道数channels%8 = 0,且channels<=256 |
| 260 | - 查询的数量num_queries < 500000 | 269 | - 查询的数量num_queries < 500000 |