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