hpi-xnor / BMXNet

(New version is out: https://github.com/hpi-xnor/BMXNet-v2) BMXNet: An Open-Source Binary Neural Network Implementation Based on MXNet
Apache License 2.0
349 stars 95 forks source link

QActivation backward_only problems #24

Closed jacky4323 closed 6 years ago

jacky4323 commented 6 years ago

Hi guys,

May I ask some questions?

question1: ALL Q series layers are all coding by c++ code ? question2: QActivation layers with backward_only=True can back propagate quantization gradient,it means that you didn't write the calculate gradient of quantization function code in Qconvolution,Qfullconnectlayer?

thanks a lot

Best Regards, Peng

yanghaojin commented 6 years ago

Hi Peng, to your questions, Q1: yes, the implementation is in C++, otherwise we cannot create the binarized models, you can check the model size here Q2: yes.

jacky4323 commented 6 years ago

thank you for your reply!!