Fork自 PaddlePaddle / PaddleDetection
test=develop
remove Free() method in UnmanagedAllocator
Use OO style to rewrite memory allocation.