From b16f8ca921c1ea2b2adc3e64d4f4f34dbebdaaf4 Mon Sep 17 00:00:00 2001 From: Lry89757 <77330637+LRY89757@users.noreply.github.com> Date: Thu, 15 Sep 2022 13:39:53 +0800 Subject: [PATCH] [docs] Fix typo (#4201) --- docs/faq.en.md | 4 ++-- docs/faq.md | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/docs/faq.en.md b/docs/faq.en.md index 8675a2fc9..072d0b33e 100644 --- a/docs/faq.en.md +++ b/docs/faq.en.md @@ -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 @@ -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 - ``` \ No newline at end of file + ``` diff --git a/docs/faq.md b/docs/faq.md index 4701414c5..8d72b792d 100644 --- a/docs/faq.md +++ b/docs/faq.md @@ -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