提交 019e8bbe 编写于 作者: N nhzlx

fix comments test=develop

上级 722b0a80
......@@ -109,6 +109,10 @@ class Pool2dOpConverter : public OpConverter {
}
if (pool_type == "max") {
// Under ceil mode, the pre_pad and post_pad are used to
// record the the padding size. In some ceil mode cases,
// we do not need padding, so we initialize the two vars to 0.
nvinfer1::DimsHW pre_pad(0, 0);
nvinfer1::DimsHW post_pad(0, 0);
if (ceil_mode) {
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册