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