Open
docs: fix API docs prototype and link errors #88
docs: fix API docs prototype and link errors #88
Open
SuneeAdd on Oct 15
Total: 4 files changed+6-6
@@ -28,8 +28,8 @@ ATVOSS代码目录结构如下:
28- [环境准备](./docs/quick_start.md#环境准备):安装软件包之前,需要完成搭建基础环境,包括第三方依赖等;基础环境搭建后需要完成社区版CANN软件包安装、环境变量配置等。28- [环境准备](./docs/quick_start.md#环境准备):安装软件包之前,需要完成搭建基础环境,包括第三方依赖等;基础环境搭建后需要完成社区版CANN软件包安装、环境变量配置等。
29- [源码下载](./docs/quick_start.md#源码下载):本项目源码下载。29- [源码下载](./docs/quick_start.md#源码下载):本项目源码下载。
30- [编译执行 ](./docs/quick_start.md#编译执行):环境准备好后,可对源码修改编译生成可执行的文件。30- [编译执行 ](./docs/quick_start.md#编译执行):环境准备好后,可对源码修改编译生成可执行的文件。
31-- [UT测试](./docs/quick_start.md#UT测试(可选)):基于项目根目录的build.sh脚本,可执行UT用例,快速验证功能。31+- [UT测试](./docs/quick_start.md#UT测试(可选)):基于scripts/build.sh脚本,可执行UT用例,快速验证功能。
32-- [ST测试](./docs/quick_start.md#ST测试(可选)):基于项目根目录的build.sh脚本,可执行ST用例,快速验证功能。32+- [ST测试](./docs/quick_start.md#ST测试(可选)):基于scripts/build.sh脚本,可执行ST用例,快速验证功能。
33 33 
34## 📖文档介绍34## 📖文档介绍
35 35 
@@ -6,7 +6,7 @@ NA
6## 函数原型6## 函数原型
7```Cpp7```Cpp
8struct XxxCompute {8struct XxxCompute {
9- template <template class Tensor>9+ template <template <typename> class Tensor>
10 __host_aicore__ constexpr auto Compute() const10 __host_aicore__ constexpr auto Compute() const
11}11}
12```12```
@@ -2,7 +2,7 @@
2## 功能说明2## 功能说明
3默认的block层schedule配置参数的数据结构。3默认的block层schedule配置参数的数据结构。
4## 所属头文件链接4## 所属头文件链接
5-[/include/elewise/block/schedule.h](../../include/elewise/block/schedule.h)5+[/include/elewise/block/builder.h](../../include/elewise/block/builder.h)
6## 数据结构6## 数据结构
7```Cpp7```Cpp
8struct DefaultBlockConfig {8struct DefaultBlockConfig {
@@ -5,7 +5,7 @@
5[/include/expression/expr_template.h](../../include/expression/expr_template.h)5[/include/expression/expr_template.h](../../include/expression/expr_template.h)
6## 函数原型6## 函数原型
7```Cpp7```Cpp
8-template <std::size_t N, typename T, ParamUsage U = ParamUsage::in>8+template <std::size_t N, typename T, ParamUsage U = ParamUsage::IN>
9__host_aicore__ constexpr auto PlaceHolder()9__host_aicore__ constexpr auto PlaceHolder()
10```10```
11## 参数说明11## 参数说明
@@ -49,7 +49,7 @@ __host_aicore__ constexpr auto PlaceHolder()
49 <td>输入</td>49 <td>输入</td>
50 <td>NA</td>50 <td>NA</td>
51 <td>参数数据流向,in:输入,out:输出,in_out:输入&输出</td>51 <td>参数数据流向,in:输入,out:输出,in_out:输入&输出</td>
52- <td>ParamUsage::in</td>52+ <td>ParamUsage::IN</td>
53 </tr>53 </tr>
54</tbody>54</tbody>
55</table>55</table>