已关闭
[Documentation|文档反馈]: 文档代码片段会导致编译错误 #1160
yangzeheng创建于  7月3日关闭于  7月7日
yangzeheng
7月3日 创建

Thanks for sending an issue! Please fill in the following template to help quickly solve your problem.

Document Link(文档链接)

https://gitcode.com/cann/asc-devkit/blob/master/docs/api/Utils-API/Tiling调测/ContextBuilder/BuildTilingContext.md

Issues Section(问题文档片段)

问题:链式调用出现双点号:

auto tilingContextHolder = context_ascendc::ContextBuilder().
.SetOpNameType(...,...)
ContextBuilder(). 后面的 . 和下一行的 .SetOpNameType 形成 ..,非法 C++ 语法。
image.png

Existing Issues(存在的问题)

问题:链式调用出现双点号:

auto tilingContextHolder = context_ascendc::ContextBuilder().
.SetOpNameType(...,...)
ContextBuilder(). 后面的 . 和下一行的 .SetOpNameType 形成 ..,非法 C++ 语法。

likedislike
shaonaiteshaonaite成员
7月3日 将 chenyiyuan 设为负责人
chenyiyuan成员
7月3日 评论:

该问题已确认,将会尽快修改。

likedislike
Cchenyiyuan成员
7月3日 将 hehongan 设为负责人
Cchenyiyuan成员
7月7日 移除了负责人 hehongan
Cchenyiyuan成员
7月7日 将 Water8L 设为负责人
WWater8L成员
7月7日 关联了pull request:fix(docs):纠正一些文档的代码错误
Water8L成员
7月7日 评论:

您好,此问题已修复,感谢您的反馈~

likedislike
WWater8L成员
7月7日 issue状态由 进行中 改变为 已完成
WWater8L成员
7月7日 关闭了 issue
CANN-robotCANN-robot成员
7月7日 添加了label:Accepted
CANN-robotCANN-robot成员
7月7日 添加了label:resolved