Describe the bug
Reflect padding output seems incorrect when padding size larger than input dimension
Urgency
N/A
System information
- OS Platform and Distribution (e.g., Linux Ubuntu 16.04): Ubuntu 18.04
- ONNX Runtime installed from (source or binary): binary
- ONNX Runtime version: 1.8.0
- Python version: 3.6.9
To Reproduce
test_pad.zip
np.set_printoptions(threshold=sys.maxsize)
sess = rt.InferenceSession("test_pad.onnx")
input_name = sess.get_inputs()[0].name
X = np.arange(3*3).reshape(1, 1, 1, 3, 3).astype(np.float32)
pred_onx = sess.run(None, {input_name: X})[0]
print("onnxruntime:")
print(pred_onx)
Expected behavior
Not know the ground truth, but the output should at least symmetric, also should not a lot of 0s there.
Screenshots

Describe the bug
Reflect padding output seems incorrect when padding size larger than input dimension
Urgency
N/A
System information
To Reproduce
test_pad.zip
Expected behavior
Not know the ground truth, but the output should at least symmetric, also should not a lot of 0s there.
Screenshots
