Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 0 additions & 2 deletions torchvision/csrc/cpu/PSROIAlign_cpu.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -194,8 +194,6 @@ void bilinear_interpolate_gradient(
// T val = (w1 * v1 + w2 * v2 + w3 * v3 + w4 * v4);

w1 = hy * hx, w2 = hy * lx, w3 = ly * hx, w4 = ly * lx;

return;
}

template <class T>
Expand Down
2 changes: 0 additions & 2 deletions torchvision/csrc/cpu/ROIAlign_cpu.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -269,8 +269,6 @@ void bilinear_interpolate_gradient(
// T val = (w1 * v1 + w2 * v2 + w3 * v3 + w4 * v4);

w1 = hy * hx, w2 = hy * lx, w3 = ly * hx, w4 = ly * lx;

return;
}

template <class T>
Expand Down
2 changes: 0 additions & 2 deletions torchvision/csrc/cuda/PSROIAlign_cuda.cu
Original file line number Diff line number Diff line change
Expand Up @@ -192,8 +192,6 @@ __device__ void bilinear_interpolate_gradient(
// T val = (w1 * v1 + w2 * v2 + w3 * v3 + w4 * v4);

w1 = hy * hx, w2 = hy * lx, w3 = ly * hx, w4 = ly * lx;

return;
}

template <typename T>
Expand Down
2 changes: 0 additions & 2 deletions torchvision/csrc/cuda/ROIAlign_cuda.cu
Original file line number Diff line number Diff line change
Expand Up @@ -194,8 +194,6 @@ __device__ void bilinear_interpolate_gradient(
// T val = (w1 * v1 + w2 * v2 + w3 * v3 + w4 * v4);

w1 = hy * hx, w2 = hy * lx, w3 = ly * hx, w4 = ly * lx;

return;
}

template <typename T>
Expand Down