restore test_inplace_comparison_ops_require_inputs_have_same_dtype Expected behavior...
authorFreey0 <freey7955@gmail.com>
Wed, 8 Sep 2021 13:40:54 +0000 (06:40 -0700)
committerFacebook GitHub Bot <facebook-github-bot@users.noreply.github.com>
Wed, 8 Sep 2021 13:42:12 +0000 (06:42 -0700)
commit2223737da91454336ccf880b75718db7369cdc8f
treebd8d4121cd0dac03d88099b4f2707ee2b34ecee2
parent9cc44aad21110e7dd481d4d1979c1569059144c2
restore test_inplace_comparison_ops_require_inputs_have_same_dtype Expected behavior (#64267)

Summary:
Pull Request resolved: https://github.com/pytorch/pytorch/pull/64267

This test expects every operation to throw a runtime error.

And Reinsert in-place operation test,Fix bug for comparison operation

fix: #64018

Test Plan: Imported from OSS

Reviewed By: gchanan

Differential Revision: D30720915

Pulled By: ezyang

fbshipit-source-id: 215a6556d20770f70f4ced1c1f9a9753933f1d37
aten/src/ATen/native/BinaryOps.cpp
test/test_binary_ufuncs.py