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