JDAI-CV / dabnn

dabnn is an accelerated binary neural networks inference framework for mobile platform
Other
769 stars 102 forks source link

packed_weight optimization #16

Open tpoisonooo opened 5 years ago

tpoisonooo commented 5 years ago

I have read bnn::bconv_3x3 and old version pack_128.

BNN was invented to deploy deep learning model to edge device, such as Raspberry PI, RK3308 and so on. RK3308 's memory is only about 32MB, so we have to think carefully about whether we need to packed_weight. After all, an app requires more than one model.

On the other hand, the code was reorder input then unpack the result, and I was worried that the overall efficiency was no better than using it directly in the normal order.