mirror of
https://github.com/pytorch/pytorch.git
synced 2025-10-20 21:14:14 +08:00
fix an embarrassing bug introduced when moving over the padding change.
This commit is contained in:
@ -57,7 +57,7 @@ class ConvPoolOpBase : public Operator<dtype, DeviceContext> {
|
||||
pad_t_ = pad_;
|
||||
pad_l_ = pad_;
|
||||
pad_b_ = pad_;
|
||||
pad_t_ = pad_;
|
||||
pad_r_ = pad_;
|
||||
}
|
||||
CHECK_GE(pad_, 0);
|
||||
CHECK_GE(pad_t_, 0);
|
||||
|
Reference in New Issue
Block a user