auto bottom = _binder->addOperand<int32_t>();
_binder->setOperand(bottom, 0);
- // TODO Support stride
+ // Set horizontal/vertical stride
auto hstride = _binder->addOperand<int32_t>();
- _binder->setOperand(hstride, 1);
+ _binder->setOperand(hstride, maxpool->stride()->horizontal());
auto vstride = _binder->addOperand<int32_t>();
- _binder->setOperand(vstride, 1);
+ _binder->setOperand(vstride, maxpool->stride()->vertical());
// Set receptive field size
auto width = _binder->addOperand<int32_t>();