Skip to content

Commit

Permalink
fix:change api
Browse files Browse the repository at this point in the history
  • Loading branch information
fengshuai03 committed Oct 27, 2021
1 parent c0b5fbd commit a7f9752
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions paddle/fluid/inference/tensorrt/convert/pool3d_op.cc
Original file line number Diff line number Diff line change
Expand Up @@ -56,15 +56,15 @@ inline void DealCeilMode(const nvinfer1::Dims &input_shape,
1;

if (floor_d_output_size != ceil_d_output_size) {
post_pad->c() = strides[0] - 1;
post_pad->d[0] = strides[0] - 1;
}

if (floor_h_output_size != ceil_h_output_size) {
post_pad->h() = strides[1] - 1;
post_pad->d[1] = strides[1] - 1;
}

if (floor_w_output_size != ceil_w_output_size) {
post_pad->w() = strides[2] - 1;
post_pad->d[2] = strides[2] - 1;
}
}

Expand Down

1 comment on commit a7f9752

@paddle-bot-old
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Congratulation! Your pull request passed all required CI. You could ask reviewer(s) to approve and merge. 🎉

Please sign in to comment.