Merged
修改表格的rowspan参数 #14176
fengying555682Add on 10 days ago
修改表格的rowspan参数 #14176
Merged
fengying555682Add on 10 days ago
Total: 30 files changed+58-56
@@ -342,8 +342,8 @@ aclnnStatus aclnnInplaceCelu(
342 <td>传入的selfRef、alpha是空指针。</td>342 <td>传入的selfRef、alpha是空指针。</td>
343 </tr>343 </tr>
344 <tr>344 <tr>
345- <td rowspan="8">ACLNN_ERR_PARAM_INVALID</td>345+ <td rowspan="4">ACLNN_ERR_PARAM_INVALID</td>
346- <td rowspan="8">161002</td>346+ <td rowspan="4">161002</td>
347 <td>selfRef的数据类型不在支持的范围之内。</td>347 <td>selfRef的数据类型不在支持的范围之内。</td>
348 </tr>348 </tr>
349 <tr>349 <tr>
@@ -344,8 +344,8 @@ aclnnStatus: return status code. For details, see [aclnn Return Codes](../../../
344 <td>selfRef or alpha is a null pointer.</td>344 <td>selfRef or alpha is a null pointer.</td>
345 </tr>345 </tr>
346 <tr>346 <tr>
347- <td rowspan="8">ACLNN_ERR_PARAM_INVALID</td>347+ <td rowspan="4">ACLNN_ERR_PARAM_INVALID</td>
348- <td rowspan="8">161002</td>348+ <td rowspan="4">161002</td>
349 <td>The data type of selfRef is not in the supported range.</td>349 <td>The data type of selfRef is not in the supported range.</td>
350 </tr>350 </tr>
351 <tr>351 <tr>
@@ -108,7 +108,7 @@ aclnnStatus aclnnFatreluMul(
108 <td>x(aclTensor*)</td>108 <td>x(aclTensor*)</td>
109 <td>输入</td>109 <td>输入</td>
110 <td>输入的张量,公式中的x。</td>110 <td>输入的张量,公式中的x。</td>
111- <td><ul><li>支持空Tensor。</li><li>最后一维值为偶数。</li><li>Atlas A2系列、Atlas A3系列、kirin系列产品:最后一维值不大于1024,其他维度的乘积不大于200000。</li><li>Atlas推理系列、Atlas训练系列产品:最后一维值不大于1024,其他维度的乘积不大于200000。</li></ul></td>111+ <td><ul><li>支持空Tensor。</li><li>最后一维值为偶数。</li></ul></td>
112 <td>BFLOAT16、FLOAT16、FLOAT</td>112 <td>BFLOAT16、FLOAT16、FLOAT</td>
113 <td>ND</td>113 <td>ND</td>
114 <td>不小于2</td>114 <td>不小于2</td>
@@ -156,7 +156,9 @@ aclnnStatus aclnnFatreluMul(
156 </tr>156 </tr>
157 </tbody>157 </tbody>
158 </table>158 </table>
159- 159+<!-- npu="A3,910b" id7 -->
160+- <term>Atlas A2系列产品</term>、<term>Atlas A3系列产品</term>:最后一维值不大于1024,其他维度的乘积不大于200000。
161+<!-- end id7 -->
160- **返回值:**162- **返回值:**
161 163 
162 aclnnStatus:返回状态码,具体参见[aclnn返回码](../../../docs/zh/context/aclnn_return_code.md)。164 aclnnStatus:返回状态码,具体参见[aclnn返回码](../../../docs/zh/context/aclnn_return_code.md)。
@@ -270,8 +270,8 @@ aclnnStatus:返回状态码,具体参见[aclnn返回码](../../../docs/zh/co
270 <td><ul><li>self、inputScaleOptional、inputOffsetOptional、y、outScaleOptional为空tensor。</li><li>self、inputScaleOptional、inputOffsetOptional、y、outScaleOptional的数据类型不在支持的范围之内。</li><li>approximate、quantMode、roundMode、dstType不在支持的范围之内。</li><li>self、inputScaleOptional、inputOffsetOptional、y、outScaleOptional的shape不满足校验条件。</li></ul></td>270 <td><ul><li>self、inputScaleOptional、inputOffsetOptional、y、outScaleOptional为空tensor。</li><li>self、inputScaleOptional、inputOffsetOptional、y、outScaleOptional的数据类型不在支持的范围之内。</li><li>approximate、quantMode、roundMode、dstType不在支持的范围之内。</li><li>self、inputScaleOptional、inputOffsetOptional、y、outScaleOptional的shape不满足校验条件。</li></ul></td>
271 </tr>271 </tr>
272 <tr>272 <tr>
273- <td rowspan="3">ACLNN_ERR_RUNTIME_ERROR</td>273+ <td rowspan="1">ACLNN_ERR_RUNTIME_ERROR</td>
274- <td rowspan="3">361001</td>274+ <td rowspan="1">361001</td>
275 <td>当前平台不在支持的平台范围内。</td>275 <td>当前平台不在支持的平台范围内。</td>
276 </tr>276 </tr>
277</tbody>277</tbody>
@@ -272,8 +272,8 @@ The first-phase API performs input parameter validation and returns an error in
272 <td><ul><li>self, inputScaleOptional, inputOffsetOptional, y, or outScaleOptional is an empty tensor.</li><li>The data type of self, inputScaleOptional, inputOffsetOptional, y, or outScaleOptional is not within the supported range.</li><li>approximate, quantMode, roundMode, or dstType is not within the supported range.</li><li>The shape of self, inputScaleOptional, inputOffsetOptional, y, or outScaleOptional does not meet the verification conditions.</li></ul></td>272 <td><ul><li>self, inputScaleOptional, inputOffsetOptional, y, or outScaleOptional is an empty tensor.</li><li>The data type of self, inputScaleOptional, inputOffsetOptional, y, or outScaleOptional is not within the supported range.</li><li>approximate, quantMode, roundMode, or dstType is not within the supported range.</li><li>The shape of self, inputScaleOptional, inputOffsetOptional, y, or outScaleOptional does not meet the verification conditions.</li></ul></td>
273 </tr>273 </tr>
274 <tr>274 <tr>
275- <td rowspan="3">ACLNN_ERR_RUNTIME_ERROR</td>275+ <td rowspan="1">ACLNN_ERR_RUNTIME_ERROR</td>
276- <td rowspan="3">361001</td>276+ <td rowspan="1">361001</td>
277 <td>The current platform is not within the range of supported platforms.</td>277 <td>The current platform is not within the range of supported platforms.</td>
278 </tr>278 </tr>
279</tbody>279</tbody>
@@ -169,8 +169,8 @@ aclnnStatus aclnnHardshrink(
169 <td>self, lambd, or out is a null pointer.</td>169 <td>self, lambd, or out is a null pointer.</td>
170 </tr>170 </tr>
171 <tr>171 <tr>
172- <td rowspan="8">ACLNN_ERR_PARAM_INVALID</td>172+ <td rowspan="3">ACLNN_ERR_PARAM_INVALID</td>
173- <td rowspan="8">161002</td>173+ <td rowspan="3">161002</td>
174 <td>The data type of self, lambd, or out is not supported.</td>174 <td>The data type of self, lambd, or out is not supported.</td>
175 </tr>175 </tr>
176 <tr>176 <tr>
@@ -336,8 +336,8 @@ aclnnStatus aclnnInplaceLeakyRelu(
336 <td>传入的selfRef、negativeSlope是空指针。</td>336 <td>传入的selfRef、negativeSlope是空指针。</td>
337 </tr>337 </tr>
338 <tr>338 <tr>
339- <td rowspan="8">ACLNN_ERR_PARAM_INVALID</td>339+ <td rowspan="1">ACLNN_ERR_PARAM_INVALID</td>
340- <td rowspan="8">161002</td>340+ <td rowspan="1">161002</td>
341 <td>selfRef的数据类型不在支持的范围之内。</td>341 <td>selfRef的数据类型不在支持的范围之内。</td>
342 </tr>342 </tr>
343 </tbody></table>343 </tbody></table>
@@ -336,8 +336,8 @@ aclnnStatus aclnnInplaceLeakyRelu(
336 <td>selfRef or negativeSlope is a null pointer.</td>336 <td>selfRef or negativeSlope is a null pointer.</td>
337 </tr>337 </tr>
338 <tr>338 <tr>
339- <td rowspan="8">ACLNN_ERR_PARAM_INVALID</td>339+ <td rowspan="1">ACLNN_ERR_PARAM_INVALID</td>
340- <td rowspan="8">161002</td>340+ <td rowspan="1">161002</td>
341 <td>The data type of selfRef is not within the supported range.</td>341 <td>The data type of selfRef is not within the supported range.</td>
342 </tr>342 </tr>
343 </tbody></table>343 </tbody></table>
@@ -460,8 +460,8 @@ aclnnStatus aclnnInplaceRReluWithNoise(
460 <td>传入的self或noise是空指针。</td>460 <td>传入的self或noise是空指针。</td>
461 </tr>461 </tr>
462 <tr>462 <tr>
463- <td rowspan="8">ACLNN_ERR_PARAM_INVALID</td>463+ <td rowspan="4">ACLNN_ERR_PARAM_INVALID</td>
464- <td rowspan="8">161002</td>464+ <td rowspan="4">161002</td>
465 <td>self或noise的数据类型不在支持的范围之内。</td>465 <td>self或noise的数据类型不在支持的范围之内。</td>
466 </tr>466 </tr>
467 <tr>467 <tr>
@@ -460,8 +460,8 @@ aclnnStatus: return status code. For details, see [aclnn Return Codes](../../../
460 <td>The self or noise parameter is a null pointer.</td>460 <td>The self or noise parameter is a null pointer.</td>
461 </tr>461 </tr>
462 <tr>462 <tr>
463- <td rowspan="8">ACLNN_ERR_PARAM_INVALID</td>463+ <td rowspan="4">ACLNN_ERR_PARAM_INVALID</td>
464- <td rowspan="8">161002</td>464+ <td rowspan="4">161002</td>
465 <td>The data type of self or noise is out of the supported range.</td>465 <td>The data type of self or noise is out of the supported range.</td>
466 </tr>466 </tr>
467 <tr>467 <tr>
@@ -314,8 +314,8 @@ aclnnStatus aclnnInplaceMish(
314 <td>传入的selfRef是空指针。</td>314 <td>传入的selfRef是空指针。</td>
315 </tr>315 </tr>
316 <tr>316 <tr>
317- <td rowspan="8">ACLNN_ERR_PARAM_INVALID</td>317+ <td rowspan="2">ACLNN_ERR_PARAM_INVALID</td>
318- <td rowspan="8">161002</td>318+ <td rowspan="2">161002</td>
319 <td>selfRef的数据类型不在支持的范围之内。</td>319 <td>selfRef的数据类型不在支持的范围之内。</td>
320 </tr>320 </tr>
321 <tr>321 <tr>
@@ -316,8 +316,8 @@ aclnnStatus aclnnInplaceMish(
316 <td>The input selfRef is a null pointer.</td>316 <td>The input selfRef is a null pointer.</td>
317 </tr>317 </tr>
318 <tr>318 <tr>
319- <td rowspan="8">ACLNN_ERR_PARAM_INVALID</td>319+ <td rowspan="2">ACLNN_ERR_PARAM_INVALID</td>
320- <td rowspan="8">161002</td>320+ <td rowspan="2">161002</td>
321 <td>The data type of selfRef is out of the supported range.</td>321 <td>The data type of selfRef is out of the supported range.</td>
322 </tr>322 </tr>
323 <tr>323 <tr>
@@ -163,8 +163,8 @@ aclnnStatus aclnnInplaceSigmoid(
163 <td>传入的self或out是空指针。</td>163 <td>传入的self或out是空指针。</td>
164 </tr>164 </tr>
165 <tr>165 <tr>
166- <td rowspan="8">ACLNN_ERR_PARAM_INVALID</td>166+ <td rowspan="2">ACLNN_ERR_PARAM_INVALID</td>
167- <td rowspan="8">161002</td>167+ <td rowspan="2">161002</td>
168 <td>self和out的数据类型和数据格式不在支持的范围之内。</td>168 <td>self和out的数据类型和数据格式不在支持的范围之内。</td>
169 </tr>169 </tr>
170 <tr>170 <tr>
@@ -166,8 +166,8 @@ aclnnStatus aclnnInplaceSigmoid(
166 <td>self or out is a null pointer.</td>166 <td>self or out is a null pointer.</td>
167 </tr>167 </tr>
168 <tr>168 <tr>
169- <td rowspan="8">ACLNN_ERR_PARAM_INVALID</td>169+ <td rowspan="2">ACLNN_ERR_PARAM_INVALID</td>
170- <td rowspan="8">161002</td>170+ <td rowspan="2">161002</td>
171 <td>The data types and data formats of self and out are not within the supported range.</td>171 <td>The data types and data formats of self and out are not within the supported range.</td>
172 </tr>172 </tr>
173 <tr>173 <tr>
@@ -149,8 +149,8 @@ aclnnStatus aclnnSilu(
149 <td>传入的self或out是空指针。</td>149 <td>传入的self或out是空指针。</td>
150 </tr>150 </tr>
151 <tr>151 <tr>
152- <td rowspan="8">ACLNN_ERR_PARAM_INVALID</td>152+ <td rowspan="3">ACLNN_ERR_PARAM_INVALID</td>
153- <td rowspan="8">161002</td>153+ <td rowspan="3">161002</td>
154 <td>self和out的数据类型不在支持的范围内。</td>154 <td>self和out的数据类型不在支持的范围内。</td>
155 </tr>155 </tr>
156 <tr>156 <tr>
@@ -151,8 +151,8 @@ aclnnStatus aclnnSilu(
151 <td>self or out is a null pointer.</td>151 <td>self or out is a null pointer.</td>
152 </tr>152 </tr>
153 <tr>153 <tr>
154- <td rowspan="8">ACLNN_ERR_PARAM_INVALID</td>154+ <td rowspan="3">ACLNN_ERR_PARAM_INVALID</td>
155- <td rowspan="8">161002</td>155+ <td rowspan="3">161002</td>
156 <td>The data types of self and out are not in the supported range.</td>156 <td>The data types of self and out are not in the supported range.</td>
157 </tr>157 </tr>
158 <tr>158 <tr>
@@ -220,8 +220,8 @@ aclnnStatus aclnnAscendQuant(
220 <td>传入的x、scale、y或roundMode是空指针。</td>220 <td>传入的x、scale、y或roundMode是空指针。</td>
221 </tr>221 </tr>
222 <tr>222 <tr>
223- <td rowspan="7">ACLNN_ERR_PARAM_INVALID</td>223+ <td rowspan="6">ACLNN_ERR_PARAM_INVALID</td>
224- <td rowspan="7">161002</td>224+ <td rowspan="6">161002</td>
225 <td>x、scale、offset、y的数据类型不在支持的范围之内。</td>225 <td>x、scale、offset、y的数据类型不在支持的范围之内。</td>
226 </tr>226 </tr>
227 <tr>227 <tr>
@@ -222,8 +222,8 @@ aclnnStatus aclnnAscendQuant(
222 <td>x, scale, or y is a null pointer.</td>222 <td>x, scale, or y is a null pointer.</td>
223 </tr>223 </tr>
224 <tr>224 <tr>
225- <td rowspan="7">ACLNN_ERR_PARAM_INVALID</td>225+ <td rowspan="6">ACLNN_ERR_PARAM_INVALID</td>
226- <td rowspan="7">161002</td>226+ <td rowspan="6">161002</td>
227 <td>The data types of x, scale, offset, and y are not in the supported range.</td>227 <td>The data types of x, scale, offset, and y are not in the supported range.</td>
228 </tr>228 </tr>
229 <tr>229 <tr>
@@ -253,8 +253,8 @@ aclnnStatus aclnnDynamicBlockQuantV2(
253 <td>x, yOut, or scaleOut is a null pointer.</td>253 <td>x, yOut, or scaleOut is a null pointer.</td>
254 </tr>254 </tr>
255 <tr>255 <tr>
256- <td rowspan="5">ACLNN_ERR_PARAM_INVALID</td>256+ <td rowspan="2">ACLNN_ERR_PARAM_INVALID</td>
257- <td rowspan="5">161002</td>257+ <td rowspan="2">161002</td>
258 <td>The data format or data type of the input or output is not within the supported range.</td>258 <td>The data format or data type of the input or output is not within the supported range.</td>
259 </tr>259 </tr>
260 <tr>260 <tr>
@@ -241,8 +241,8 @@ aclnnStatus aclnnDynamicBlockQuant(
241 <td>The input x, yOut, or scaleOut is a null pointer.</td>241 <td>The input x, yOut, or scaleOut is a null pointer.</td>
242 </tr>242 </tr>
243 <tr>243 <tr>
244- <td rowspan="5">ACLNN_ERR_PARAM_INVALID</td>244+ <td rowspan="1">ACLNN_ERR_PARAM_INVALID</td>
245- <td rowspan="5">161002</td>245+ <td rowspan="1">161002</td>
246 <td>The input or output data format or data type is beyond the supported range.</td>246 <td>The input or output data format or data type is beyond the supported range.</td>
247 </tr>247 </tr>
248 </tbody></table>248 </tbody></table>
@@ -188,8 +188,8 @@ aclnnStatus aclnnGroupQuant(
188 <td>传入的x、scale、groupIndex、y是空指针。</td>188 <td>传入的x、scale、groupIndex、y是空指针。</td>
189 </tr>189 </tr>
190 <tr>190 <tr>
191- <td rowspan="6">ACLNN_ERR_PARAM_INVALID</td>191+ <td rowspan="5">ACLNN_ERR_PARAM_INVALID</td>
192- <td rowspan="6">161002</td>192+ <td rowspan="5">161002</td>
193 <td>x、scale、groupIndex、offsetOptional、y的数据类型或数据格式不在支持的范围之内。</td>193 <td>x、scale、groupIndex、offsetOptional、y的数据类型或数据格式不在支持的范围之内。</td>
194 </tr>194 </tr>
195 <tr>195 <tr>
@@ -190,8 +190,8 @@ aclnnStatus aclnnGroupQuant(
190 <td>x, scale, groupIndex, or y is a null pointer.</td>190 <td>x, scale, groupIndex, or y is a null pointer.</td>
191 </tr>191 </tr>
192 <tr>192 <tr>
193- <td rowspan="6">ACLNN_ERR_PARAM_INVALID</td>193+ <td rowspan="5">ACLNN_ERR_PARAM_INVALID</td>
194- <td rowspan="6">161002</td>194+ <td rowspan="5">161002</td>
195 <td>The data type or data format of x, scale, groupIndex, offsetOptional, or y is not supported.</td>195 <td>The data type or data format of x, scale, groupIndex, offsetOptional, or y is not supported.</td>
196 </tr>196 </tr>
197 <tr>197 <tr>
@@ -238,7 +238,7 @@ aclnnStatus aclnnGroupedDynamicBlockQuant(
238 <td>传入的x、groupList、yOut或scaleOut为空指针。</td>238 <td>传入的x、groupList、yOut或scaleOut为空指针。</td>
239 </tr>239 </tr>
240 <tr>240 <tr>
241- <td rowspan="5">ACLNN_ERR_PARAM_INVALID</td>241+ <td rowspan="2">ACLNN_ERR_PARAM_INVALID</td>
242 <td rowspan="2">161002</td>242 <td rowspan="2">161002</td>
243 <td>输入或输出数据格式或数据类型不在支持的范围之内。</td>243 <td>输入或输出数据格式或数据类型不在支持的范围之内。</td>
244 </tr>244 </tr>
@@ -250,7 +250,7 @@ aclnnStatus aclnnGroupedDynamicBlockQuantV2(
250 <td>传入的x、groupList、yOut或scaleOut的参数是空指针。</td>250 <td>传入的x、groupList、yOut或scaleOut的参数是空指针。</td>
251 </tr>251 </tr>
252 <tr>252 <tr>
253- <td rowspan="5">ACLNN_ERR_PARAM_INVALID</td>253+ <td rowspan="2">ACLNN_ERR_PARAM_INVALID</td>
254 <td rowspan="2">161002</td>254 <td rowspan="2">161002</td>
255 <td>输入或输出数据格式或数据类型不在支持的范围之内。</td>255 <td>输入或输出数据格式或数据类型不在支持的范围之内。</td>
256 </tr>256 </tr>
@@ -252,7 +252,7 @@ aclnnStatus aclnnGroupedDynamicBlockQuantV2(
252 <td>The parameter x, groupList, yOut, or scaleOut is a null pointer.</td>252 <td>The parameter x, groupList, yOut, or scaleOut is a null pointer.</td>
253 </tr>253 </tr>
254 <tr>254 <tr>
255- <td rowspan="5">ACLNN_ERR_PARAM_INVALID</td>255+ <td rowspan="2">ACLNN_ERR_PARAM_INVALID</td>
256 <td rowspan="2">161002</td>256 <td rowspan="2">161002</td>
257 <td>The input or output data format or data type is out of the supported range.</td>257 <td>The input or output data format or data type is out of the supported range.</td>
258 </tr>258 </tr>
@@ -240,7 +240,7 @@ aclnnStatus aclnnGroupedDynamicBlockQuant(
240 <td>The passed-in x, groupList, yOut, or scaleOut parameter is a null pointer.</td>240 <td>The passed-in x, groupList, yOut, or scaleOut parameter is a null pointer.</td>
241 </tr>241 </tr>
242 <tr>242 <tr>
243- <td rowspan="5">ACLNN_ERR_PARAM_INVALID</td>243+ <td rowspan="2">ACLNN_ERR_PARAM_INVALID</td>
244 <td rowspan="2">161002</td>244 <td rowspan="2">161002</td>
245 <td>The input or output data format or data type is not within the supported range.</td>245 <td>The input or output data format or data type is not within the supported range.</td>
246 </tr>246 </tr>
@@ -211,8 +211,8 @@ aclnnStatus aclnnGroupedQuantMax(
211 <td>x、scale、groupList、y、amax存在空指针。</td>211 <td>x、scale、groupList、y、amax存在空指针。</td>
212 </tr>212 </tr>
213 <tr>213 <tr>
214- <td rowspan="5">ACLNN_ERR_PARAM_INVALID</td>214+ <td rowspan="4">ACLNN_ERR_PARAM_INVALID</td>
215- <td rowspan="5">161002</td>215+ <td rowspan="4">161002</td>
216 <td>x、scale、groupList的数据类型不在支持的范围之内。</td>216 <td>x、scale、groupList的数据类型不在支持的范围之内。</td>
217 </tr>217 </tr>
218 <tr>218 <tr>
@@ -213,8 +213,8 @@ aclnnStatus aclnnGroupedQuantMax(
213 <td>x, scale, groupList, y, or amax is a null pointer.</td>213 <td>x, scale, groupList, y, or amax is a null pointer.</td>
214 </tr>214 </tr>
215 <tr>215 <tr>
216- <td rowspan="5">ACLNN_ERR_PARAM_INVALID</td>216+ <td rowspan="4">ACLNN_ERR_PARAM_INVALID</td>
217- <td rowspan="5">161002</td>217+ <td rowspan="4">161002</td>
218 <td>The data type of x, scale, or groupList is not supported.</td>218 <td>The data type of x, scale, or groupList is not supported.</td>
219 </tr>219 </tr>
220 <tr>220 <tr>
@@ -205,8 +205,8 @@ aclnnStatus aclnnQuantize(
205 <td>传入的x、scales或out是空指针。</td>205 <td>传入的x、scales或out是空指针。</td>
206 </tr>206 </tr>
207 <tr>207 <tr>
208- <td rowspan="7">ACLNN_ERR_PARAM_INVALID</td>208+ <td rowspan="6">ACLNN_ERR_PARAM_INVALID</td>
209- <td rowspan="7">161002</td>209+ <td rowspan="6">161002</td>
210 <td>x、scales、zeroPoints或out的数据类型/数据格式/维度不在支持的范围之内。</td>210 <td>x、scales、zeroPoints或out的数据类型/数据格式/维度不在支持的范围之内。</td>
211 </tr>211 </tr>
212 <tr>212 <tr>
@@ -207,8 +207,8 @@ aclnnStatus aclnnQuantize(
207 <td>x, scales, or out is a null pointer.</td>207 <td>x, scales, or out is a null pointer.</td>
208 </tr>208 </tr>
209 <tr>209 <tr>
210- <td rowspan="7">ACLNN_ERR_PARAM_INVALID</td>210+ <td rowspan="6">ACLNN_ERR_PARAM_INVALID</td>
211- <td rowspan="7">161002</td>211+ <td rowspan="6">161002</td>
212 <td>The data type/data format/dimension of x, scales, zeroPoints, or out is out of the supported range.</td>212 <td>The data type/data format/dimension of x, scales, zeroPoints, or out is out of the supported range.</td>
213 </tr>213 </tr>
214 <tr>214 <tr>