pytorch
f57c6303 - [ONNX] Fix reciprocal when input is not floating point (#67471) (#67808)

Commit
3 years ago
[ONNX] Fix reciprocal when input is not floating point (#67471) (#67808) Summary: Pull Request resolved: https://github.com/pytorch/pytorch/pull/67808 torch.reciprocal implicitly casts the inputs to float, and ONNX Reciprocal requires floating point inputs. Also separate the reciprocal test from other tests, and test different input types. Test Plan: Imported from OSS Reviewed By: msaroufim Differential Revision: D32181307 Pulled By: malfet fbshipit-source-id: 3e1109b3c85a49c51dc713656a900b4ee78c8340
Author
Parents
Loading