已合并
fix(blogs): 修正 SuperKernel 与 TilingKey 博客中的拼写错误 (#358) #566
fix(blogs): 修正 SuperKernel 与 TilingKey 博客中的拼写错误 (#358) #566
已合并
Sep_19创建于 24 天前
2 个文件变更+2-2
@@ -325,7 +325,7 @@ SuperKernel编译时会在GlobalTensor的GetValue/SetValue/operator()中增加Ca
325 325 
326```326```
327auto xGlobal = GlobalTensor<int32_t>(...);327auto xGlobal = GlobalTensor<int32_t>(...);
328-xGlobal.SetVale(0, 1);328+xGlobal.SetValue(0, 1);
329auto scaleGlobal = GlobalTensor<float>(...);329auto scaleGlobal = GlobalTensor<float>(...);
330auto scale = scaleGlobal.GetValue(0); // 或 scaleGlobal(0)330auto scale = scaleGlobal.GetValue(0); // 或 scaleGlobal(0)
331```331```
@@ -205,7 +205,7 @@ template<int D_T_X, int D_T_Y, int D_T_Z, int TILE_NUM, int IS_SPLIT>
205 op.Process2(); } }}205 op.Process2(); } }}
206```206```
207 207 
208-当前已开源的ops-nn仓和ops-transfomer仓中的部分核心算子已经基于该模板化编程方式完成优化,感兴趣的同学可以访问ops-nn仓 BatMatMulV3算子和ops-transformer仓 FA算子。208+当前已开源的ops-nn仓和ops-transformer仓中的部分核心算子已经基于该模板化编程方式完成优化,感兴趣的同学可以访问ops-nn仓 BatMatMulV3算子和ops-transformer仓 FA算子。
209 209 
210**ops-nn仓 BatMatMulV3算子:**210**ops-nn仓 BatMatMulV3算子:**
211 211