Skip to content

Commit 03c9e30

Browse files
authored
Update TIM-VX url on README (#1095)
* Update examples readme English Version * Update TIM-VX url on README.md * Update TIM-VX url on README_EN.md Co-authored-by: mlbo <[email protected]>
1 parent 4d0f987 commit 03c9e30

File tree

5 files changed

+11
-7
lines changed

5 files changed

+11
-7
lines changed

.github/workflows/codeql-analysis.yml

+2
Original file line numberDiff line numberDiff line change
@@ -8,9 +8,11 @@ name: "CodeQL"
88
on:
99
push:
1010
branches: [tengine-lite]
11+
paths-ignore: ['**.md']
1112
pull_request:
1213
# The branches below must be a subset of the branches above
1314
branches: [tengine-lite]
15+
paths-ignore: ['**.md']
1416
schedule:
1517
- cron: '0 20 * * 4'
1618

README.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -63,7 +63,7 @@ Tengine 核心代码由 4 个模块组成:
6363

6464
### NPU Plugin
6565

66-
- [TIM-VX](doc/npu_tim-vx_user_manual_zh.md) VeriSilicon NPU 使用指南。
66+
- [TIM-VX](doc/docs_zh/source_compile/compile_timvx.md) VeriSilicon NPU 使用指南。
6767

6868
### AutoKernel Plugin
6969

README_EN.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -62,7 +62,7 @@ The core code of Tengine Lite consists of 4 modules:
6262

6363
### NPU Plugin
6464

65-
- [TIM-VX](doc/npu_tim-vx_user_manual_zh.md) VeriSilicon NPU user manual.
65+
- [TIM-VX](doc/docs_zh/source_compile/compile_timvx.md) VeriSilicon NPU user manual.
6666

6767
### AutoKernel Plugin
6868

examples/pipeline/actor/face_feature.h

+1-1
Original file line numberDiff line numberDiff line change
@@ -221,7 +221,7 @@ class FaceFeature : public Node<Param<std::tuple<cv::Mat, std::vector<Feature> >
221221
fprintf(stdout, "write feature %f, len %d\n ", data[0], data_size);
222222

223223
Feature f;
224-
f.data = {data, data+data_size};
224+
f.data = {data, data + data_size};
225225
output<0>()->try_push(std::move(f));
226226
}
227227
return;

examples/pipeline/test/test_face_enroll.cpp

+6-4
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,9 @@ namespace pipeline {
3535
class SaveFeature : public Node<Param<Feature>, Param<void> >
3636
{
3737
public:
38-
SaveFeature() {}
38+
SaveFeature()
39+
{
40+
}
3941

4042
void exec() override
4143
{
@@ -48,12 +50,12 @@ class SaveFeature : public Node<Param<Feature>, Param<void> >
4850
}
4951

5052
char filename[64] = {0};
51-
sprintf(filename , "feature%ld.bin", idx++);
53+
sprintf(filename, "feature%ld.bin", idx++);
5254
feat.serialize(std::string(filename));
5355
}
5456
};
5557

56-
}
58+
} // namespace pipeline
5759

5860
int main(int argc, char* argv[])
5961
{
@@ -73,7 +75,7 @@ int main(int argc, char* argv[])
7375
auto image_det = g.add_edge<InstantEdge<cv::Mat> >(100);
7476
auto det_lmk = g.add_edge<InstantEdge<std::tuple<cv::Mat, std::vector<cv::Rect> > > >(100);
7577
auto lmk_feature = g.add_edge<InstantEdge<std::tuple<cv::Mat, std::vector<Feature> > > >(100);
76-
auto feature_save = g.add_edge<InstantEdge<Feature>>(100);
78+
auto feature_save = g.add_edge<InstantEdge<Feature> >(100);
7779

7880
images->set_output<0>(image_det);
7981
detect_face->set_input<0>(image_det);

0 commit comments

Comments
 (0)