Created by: wangjiawei04
添加cube量化相关代码,在 core/predictor/common/quant.h seq_file.h等 恢复了在core/predictor/unittest下的单测,用WITH_TEST=ON来打开
添加了quant的测试,但是目前有bug,表现和非gtest下不一致,在生成SequenceFile的过程中会卡死,还在排查。
复现方法。 [Step 1] cmake -DPYTHON_INCLUDE_DIR=$PYTHONROOT/include/python2.7/ -DPYTHON_LIBRARIES=$PYTHONROOT/lib/libpython2.7.so -DPYTHON_EXECUTABLE=$PYTHONROOT/bin/python -DCLIENT_ONLY=OFF -DWITH_TEST=ON ..
[Step 2] make -j10
[Step 3] ./core/predictor/unittest