Fork自 PaddlePaddle / PaddleDetection
* Fix constructor bug in mixed_vector * Fix warnings * Clean code * Extract for-loop init. Make nvcc happy