mirror of
https://github.com/saymrwulf/onnxruntime.git
synced 2026-06-26 03:00:54 +00:00
Fix ceil_mode not defined for mkldnn pool.cc warning (#907)
This commit is contained in:
parent
80ac858016
commit
8ed3eed7b5
1 changed files with 1 additions and 1 deletions
|
|
@ -254,7 +254,7 @@ Status Pool<T, PoolType>::Compute(OpKernelContext* context) const {
|
|||
strides.assign(kernel_shape.size(), 1);
|
||||
}
|
||||
|
||||
std::vector<int64_t> y_dims = PoolBase::SetOutputSize(x_shape, x_shape[1], &pads, this->dilations_, ceil_mode_);
|
||||
std::vector<int64_t> y_dims = PoolBase::SetOutputSize(x_shape, x_shape[1], &pads, this->dilations_, this->ceil_mode_);
|
||||
Tensor* Y = context->Output(0, TensorShape(y_dims));
|
||||
|
||||
size_t num_outputs = OpKernel::Node().OutputDefs().size();
|
||||
|
|
|
|||
Loading…
Reference in a new issue