Skip to content

Question about PrRoIPoolingMatCalculation #35

Description

@JingChaoLiu

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?

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions