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

TNN支持在ios上进行model_check吗 #1927

Open liuyingbin123 opened 1 year ago

liuyingbin123 commented 1 year ago

请问一下TNN支持在IOS设备上进行model_check吗?目前只在IOS设备上发现cpu和metal的结果不一致,其他平台的都没发现有问题。另外我在模型转换时没用进行align,是否有可能有这个有关。

darrenyao87 commented 1 year ago

iOS由于权限问题上无法执行model_check,但在Mac上是可以的,iOS和Mac上的metal代码是一致的。如果结果不一致可能是metal实现的问题,可以提供模型文件给我们进行验证