somefuncreproduct to reproduct some function like ROI POOL roi pooling function: simply reproduct in python. maybe not robust. but it enough to understand the reason of ROI pooling.