We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 571f4e2 commit 505a942Copy full SHA for 505a942
onnx/reference/ops/op_pool_common.py
@@ -229,7 +229,7 @@ def pool(
229
strides[i] * shape[i + 2] + (1 + (kernel[i] - 1) * dilations[i]),
230
dilations[i],
231
)
232
- # if num < x_shape[i + 2] + pads[i] + pads[i + spatial_size]
+ if num < x_shape[i + 2] + pads[i] + pads[i + spatial_size]
233
234
window_vals = np.array(
235
[window[indices] for indices in itertools.product(elements)]
0 commit comments