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