Skip to content

Commit

Permalink
try fix image path in docs
Browse files Browse the repository at this point in the history
  • Loading branch information
liuzhishan committed Dec 24, 2024
1 parent 1ceecc4 commit 0ae9ddb
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion docs/problem/kv_feature/format_conversion.md
Original file line number Diff line number Diff line change
Expand Up @@ -72,4 +72,4 @@ table BatchedSamples {
我们可以观察到 `AdjointLabeledLog` 的结构中的路径是唯一的,因此我们可以用此路径作为唯一的 `key`,而 `value` 则可以
统一对应到几种基础类型。对于叶子节点为基础类型的简单嵌套字段,可以直接将路径作为`key`, 叶子节点的数据作为 `value`

![pb_to_kv_convert.png](../../images/problem/kv_feature/pb_to_kv_convert.png)
![pb_to_kv_convert.png](../images/problem/kv_feature/pb_to_kv_convert.png)
2 changes: 1 addition & 1 deletion docs/problem/origin_format.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

原始数据是以 `protobuf` 格式存储的,通过 `c++` 实现特征提取的逻辑。如下图所示:

![proto_data_and_feature](../../images/problem/origin_format/proto_data_and_feature.png)
![proto_data_and_feature](../images/problem/origin_format/proto_data_and_feature.png)

## 原始数据格式: `AdJointLabeledLog`

Expand Down
2 changes: 1 addition & 1 deletion docs/solution/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

有了 `llvm` 解析 `c++` 代码为基础,针对之前总结的问题,我们就可以按如下思路来解决自动改写的问题:

![solution_idea](../../images/solution/solution_idea.png)
![solution_idea](../images/solution/solution_idea.png)

1. 利用 `llvm` 解析 `c++` 代码, 获取代码对应的完整的 `ast` 结构, 即语法树结构。
2. 理解代码中的上下文信息,如是 `if` 语句还是循环语句,是函数调用还是变量定义,并讲这些 `scope` 相关信息保存在专门设计的 `Env` 中。
Expand Down
2 changes: 1 addition & 1 deletion docs/solution/overall_architecture.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,4 +2,4 @@

整体架构如下所示:

![overall_arch](../../images/solution/overall_arch.png)
![overall_arch](../images/solution/overall_arch.png)

0 comments on commit 0ae9ddb

Please sign in to comment.