Fix the (reduce)min and (reduce)max ONNX exporting (#15241)
authorLu Fang <lufang@fb.com>
Tue, 18 Dec 2018 19:28:04 +0000 (11:28 -0800)
committerFacebook Github Bot <facebook-github-bot@users.noreply.github.com>
Tue, 18 Dec 2018 19:48:06 +0000 (11:48 -0800)
commitf4c504593cc73c4c3939f8d3e8e012c4d47bfd8d
tree0824d6a153273324121f8ac63cfefc289738ffdc
parent056cfaf3ff3dc3672e9923237b5e3867e0c76040
Fix the (reduce)min and (reduce)max ONNX exporting (#15241)

Summary:
max and reducemax are smashed together, we need to support one input case.
Pull Request resolved: https://github.com/pytorch/pytorch/pull/15241

Reviewed By: yinghai

Differential Revision: D13473312

Pulled By: houseroad

fbshipit-source-id: 9b8c847286a2631b006ca900271bc0d26574101a
test/onnx/expect/TestOperators.test_reducemax.expect [new file with mode: 0644]
test/onnx/expect/TestOperators.test_reducemin.expect [new file with mode: 0644]
test/onnx/test_operators.py
torch/onnx/symbolic.py