Skip to content

Commit f77c27d

Browse files
committed
Fix comment
1 parent 7f7264b commit f77c27d

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

kernels/portable/cpu/op_grid_sampler_2d.cpp

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -116,7 +116,8 @@ void grid_sample_2d_bilinear_kernel_impl_nchw(
116116
}
117117
} else {
118118
// For border/reflection padding, clip corner indices to valid range
119-
// Even though source coordinates are clipped, adding 1 can push corners out of bounds
119+
// Even though source coordinates are clipped, adding 1 can push
120+
// corners out of bounds
120121
const int64_t ix_nw_safe = clip_coordinates(ix_nw, inp_W);
121122
const int64_t iy_nw_safe = clip_coordinates(iy_nw, inp_H);
122123
const int64_t ix_ne_safe = clip_coordinates(ix_ne, inp_W);

0 commit comments

Comments
 (0)