Define of PrRoIPoolingMatCalculation
|
__device__ static float PrRoIPoolingMatCalculation(F_DEVPTR_IN this_data, const int s_h, const int s_w, const int e_h, const int e_w, |
|
const float y0, const float x0, const float y1, const float x1, const int h0, const int w0) |
When called PrRoIPoolingMatCalculation in PrRoIPoolingForward
|
for (int w_iter = s_w; w_iter < e_w; ++w_iter) |
|
for (int h_iter = s_h; h_iter < e_h; ++h_iter) |
|
sum_out += PrRoIPoolingMatCalculation(this_data, h_iter, w_iter, h_iter + 1, w_iter + 1, |
|
max(win_start_h, float(h_iter)), max(win_start_w, float(w_iter)), |
|
min(win_end_h, float(h_iter) + 1.0), min(win_end_w, float(w_iter + 1.0)), |
|
height, width); |
Given 1 <= h_iter <= win_end_h - 1 and 1 <= w_iter <= win_end_w -1, for the parameters passed to PrRoIPoolingMatCalculation, s_h and s_walways equal y0 and x0respectively, and e_h and e_walways equal y1 and x1respectively.
Are these settings what you expected?
Define of
PrRoIPoolingMatCalculationPreciseRoIPooling/src/prroi_pooling_gpu_impl.cu
Lines 71 to 72 in 8ee2a64
When called
PrRoIPoolingMatCalculationinPrRoIPoolingForwardPreciseRoIPooling/src/prroi_pooling_gpu_impl.cu
Lines 204 to 209 in 8ee2a64
Given
1 <= h_iter <= win_end_h - 1and1 <= w_iter <= win_end_w -1, for the parameters passed toPrRoIPoolingMatCalculation,s_hands_walways equaly0andx0respectively, ande_hande_walways equaly1andx1respectively.Are these settings what you expected?