From 17bf5247ccec293ee79c187a0fab34e9be397bea Mon Sep 17 00:00:00 2001 From: nihuini Date: Tue, 7 Apr 2020 19:03:02 +0800 Subject: [PATCH] visualize Mat --- docs/Home.md | 56 +++++++++++++++++++++++++++++++++++++++++++++++++++- 1 file changed, 55 insertions(+), 1 deletion(-) diff --git a/docs/Home.md b/docs/Home.md index 78d2d42d3..16c3c075f 100644 --- a/docs/Home.md +++ b/docs/Home.md @@ -36,7 +36,7 @@ int main() ### print Mat content ``` -void pretty_print(const Mat& m) +void pretty_print(const ncnn::Mat& m) { for (int q=0; q normed_feats(m.c); + + for (int i=0; i(y); + uchar* sp = normed_feats[i].ptr(y); + for (int x=0; x