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.
测试发现,转换Pytorch的
normalize
函数存在问题:y=torch.nn.functional.normalize(x, p=1, dim=1)
转换ONNX,opset_version=9,可以正常转换,但在推理时出现异常:`#pragma OPENCL EXTENSION cl_khr_fp16 : enable ^