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