Fork自 PaddlePaddle / Paddle
Clean allocation->Deleter test=develop
Clean managed/umnamaged allocator
add unittest of retry_allocator
Use OO style to rewrite memory allocation.