Skip to content

Commit 505a942

Browse files
committed
keep condition
1 parent 571f4e2 commit 505a942

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

onnx/reference/ops/op_pool_common.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -229,7 +229,7 @@ def pool(
229229
strides[i] * shape[i + 2] + (1 + (kernel[i] - 1) * dilations[i]),
230230
dilations[i],
231231
)
232-
# if num < x_shape[i + 2] + pads[i] + pads[i + spatial_size]
232+
if num < x_shape[i + 2] + pads[i] + pads[i + spatial_size]
233233
)
234234
window_vals = np.array(
235235
[window[indices] for indices in itertools.product(elements)]

0 commit comments

Comments
 (0)