Skip to content

Commit

Permalink
[GPU] Fix a bug of resample_onnx kernel (#27780)
Browse files Browse the repository at this point in the history
### Tickets:
 - *157149*
  • Loading branch information
jade-cho authored Dec 3, 2024
1 parent a0222b8 commit 0aeac5f
Showing 1 changed file with 0 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -64,9 +64,6 @@ KERNEL (resample_onnx)(__global INPUT0_TYPE* input,

const int in_size[5] = { INPUT0_BATCH_NUM, INPUT0_FEATURE_NUM, INPUT0_SIZE_Z, INPUT0_SIZE_Y, INPUT0_SIZE_X };

if (feature_num >= OUTPUT_FEATURE_NUM)
return;

const int PADDED_Y = INPUT0_SIZE_Y + PADS_BEGIN[3] + PADS_END[3];
const int PADDED_X = INPUT0_SIZE_X + PADS_BEGIN[4] + PADS_END[4];
const ACCUMULATOR_TYPE iy = FUNC_CALL(get_original_coordinate)(y, SCALES[3], OUTPUT_SIZE_Y, PADDED_Y);
Expand Down

0 comments on commit 0aeac5f

Please sign in to comment.