Tencent / TNN

TNN: developed by Tencent Youtu Lab and Guangying Lab, a uniform deep learning inference framework for mobile、desktop and server. TNN is distinguished by several outstanding features, including its cross-platform capability, high performance, model compression and code pruning. Based on ncnn and Rapidnet, TNN further strengthens the support and performance optimization for mobile devices, and also draws on the advantages of good extensibility and high performance from existed open source efforts. TNN has been deployed in multiple Apps from Tencent, such as Mobile QQ, Weishi, Pitu, etc. Contributions are welcome to work in collaborative with us and make TNN a better framework.
Other
4.4k stars 770 forks source link

如何使用NC4HW4的数据? #1903

Closed DefTruth closed 1 year ago

DefTruth commented 1 year ago

1. 环境(environment)

arm输出的数据是NC4HW4格式,可以直接mat->GetData()使用吗?没看到api文档里有具体的案例,是需要自己处理成NCHW?

DefTruth commented 1 year ago

通过指定mat_type获取解决