Skip to content

Commit

Permalink
[docs] Fix typo (Tencent#4201)
Browse files Browse the repository at this point in the history
  • Loading branch information
LRY89757 authored Sep 15, 2022
1 parent 5148224 commit b16f8ca
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions docs/faq.en.md
Original file line number Diff line number Diff line change
Expand Up @@ -216,7 +216,7 @@ Fully customizable op, first change to one that can export (e.g. concat slice),

2. [Learn in 5 minutes! Converting TorchScript models to ncnn models with PNNX](https://zhuanlan.zhihu.com/p/427512763)

# 使用
# Using

- ## vkEnumeratePhysicalDevices failed -3

Expand Down Expand Up @@ -290,4 +290,4 @@ Fully customizable op, first change to one that can export (e.g. concat slice),
ncnn::Mat in1(60, (void*)testData.data()).reshape(4, 5, 3); // just pass the pointer to the float data as a void*, and even specify the dimension (up says it's best to use reshape to solve the channel gap)
float* a = new float[60]; // New a piece of memory yourself, you need to release it later
ncnn::Mat in2 = ncnn::Mat(60, (void*)a).reshape(4, 5, 3).clone(); // use the same method as above, clone() to transfer data owner
```
```
2 changes: 1 addition & 1 deletion docs/faq.md
Original file line number Diff line number Diff line change
Expand Up @@ -111,7 +111,7 @@

# 怎样添加ncnn库到项目中?cmake方式怎么用?

编译ncnn,make install。linux/windows set/export ncnn_DIR 指向 isntall目录下下包含ncnnConfig.cmake 的目录
编译ncnn,make install。linux/windows set/export ncnn_DIR 指向 install目录下包含ncnnConfig.cmake 的目录

- ## android

Expand Down

0 comments on commit b16f8ca

Please sign in to comment.