Skip to content

Commit 20d31fa

Browse files
committed
Revert "Add mixed integer precision test for op_mul (#11206)"
This reverts commit 3a4ec6e.
1 parent 7d6ca43 commit 20d31fa

File tree

1 file changed

+0
-15
lines changed

1 file changed

+0
-15
lines changed

kernels/test/op_mul_test.cpp

Lines changed: 0 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -746,21 +746,6 @@ TEST_F(OpMulOutTest, DynamicShapeUnbound) {
746746
EXPECT_TENSOR_CLOSE(out, expected_result);
747747
}
748748

749-
// >>> torch.ops.aten.mul(torch.tensor([100], dtype=torch.int8),
750-
// torch.tensor([100], dtype=torch.int8), out=torch.zeros([1],
751-
// dtype=torch.long)) tensor([16])
752-
TEST_F(OpMulOutTest, MixedIntegerDtypeMatchesATen) {
753-
TensorFactory<ScalarType::Char> tf_in;
754-
TensorFactory<ScalarType::Long> tf_out;
755-
756-
Tensor in = tf_in.make({1}, {100});
757-
Tensor out = tf_out.zeros({1});
758-
Tensor ret = op_mul_out(in, in, out);
759-
760-
Tensor expected = tf_out.make({1}, {16});
761-
EXPECT_TENSOR_CLOSE(out, expected);
762-
}
763-
764749
TEST_F(OpMulScalarOutTest, SanityCheck) {
765750
TensorFactory<ScalarType::Bool> tf_a;
766751
TensorFactory<ScalarType::Float> tf_out;

0 commit comments

Comments
 (0)