已合并
文档中,存在部分低错问题,修复不正确的文档描述 #2642
songkai111创建于 5月8日
文档中,存在部分低错问题,修复不正确的文档描述 #2642
已合并
songkai111创建于 5月8日
3 个文件变更+3-3
@@ -187,7 +187,7 @@
187 之后进入算子可执行文件所在目录,执行如下命令:187 之后进入算子可执行文件所在目录,执行如下命令:
188 188 
189 ```bash189 ```bash
190- msprof op simulator --output=$PWD/pipeline_auto --kernel-name "AddExample" ./test_aclnn_add_example190+ msprof op simulator --output=$PWD/pipeline_auto --kernel-name="AddExample" ./test_aclnn_add_example
191 ```191 ```
192 192 
193 采集结果在本项目`$PWD/pipeline_auto/OPPROF_**`目录中。193 采集结果在本项目`$PWD/pipeline_auto/OPPROF_**`目录中。
@@ -828,7 +828,7 @@ static ge::graphStatus TilingFunc(gert::TilingContext *context)
828 uint32_t totalLength = context->GetInputShape(0)->GetOriginShape().GetShapeSize();828 uint32_t totalLength = context->GetInputShape(0)->GetOriginShape().GetShapeSize();
829 ge::DataType dtype_x = context->GetInputDesc(0)->GetDataType();829 ge::DataType dtype_x = context->GetInputDesc(0)->GetDataType();
830 ge::DataType dtype_y = context->GetInputDesc(1)->GetDataType();830 ge::DataType dtype_y = context->GetInputDesc(1)->GetDataType();
831- ge::DataType dtype_z = context->GetOutputDesc(1)->GetDataType();831+ ge::DataType dtype_z = context->GetOutputDesc(0)->GetDataType();
832 uint32_t D_T_X = static_cast<int>(dtype_x), D_T_Y = static_cast<int>(dtype_y), D_T_Z = static_cast<int>(dtype_z), TILE_NUM = 1, IS_SPLIT = 0;832 uint32_t D_T_X = static_cast<int>(dtype_x), D_T_Y = static_cast<int>(dtype_y), D_T_Z = static_cast<int>(dtype_z), TILE_NUM = 1, IS_SPLIT = 0;
833 if(totalLength< MIN_LENGTH_FOR_SPLIT){833 if(totalLength< MIN_LENGTH_FOR_SPLIT){
834 IS_SPLIT = 0;834 IS_SPLIT = 0;
@@ -60,7 +60,7 @@ $$
60 60 
61## 约束说明61## 约束说明
62 62 
63-63+输入输出仅支持4维。
64 64 
65## 调用说明65## 调用说明
66 66