From 1c5bad7e959a21466405861acfa0c369faf002d8 Mon Sep 17 00:00:00 2001 From: Abhinav Gunjal Date: Tue, 9 Apr 2024 14:41:49 -0700 Subject: [PATCH] typo fix : Correct the float type in tanh test name (#2190) --- stablehlo/tests/interpret/tanh.mlir | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/stablehlo/tests/interpret/tanh.mlir b/stablehlo/tests/interpret/tanh.mlir index c73d2f4b23..b09ca95d1d 100644 --- a/stablehlo/tests/interpret/tanh.mlir +++ b/stablehlo/tests/interpret/tanh.mlir @@ -36,7 +36,7 @@ func.func @tanh_op_test_f64() { // ----- -func.func @tanh_op_test_c64() { +func.func @tanh_op_test_c32() { %0 = stablehlo.constant dense<[(1.5, 2.5), (3.5, 4.5)]> : tensor<2xcomplex> %1 = stablehlo.tanh %0 : tensor<2xcomplex> check.expect_almost_eq_const %1, dense<[(0.967786788, -0.0926378369), (1.00166273, 7.52857188E-4)]> : tensor<2xcomplex> @@ -45,7 +45,7 @@ func.func @tanh_op_test_c64() { // ----- -func.func @tanh_op_test_c128() { +func.func @tanh_op_test_c64() { %0 = stablehlo.constant dense<[(1.5, 2.5), (3.5, 4.5)]> : tensor<2xcomplex> %1 = stablehlo.tanh %0 : tensor<2xcomplex> check.expect_almost_eq_const %1, dense<[(0.96778680215277412, -0.092637836268419898), (1.0016627850956348, 7.5285721538218659E-4)]> : tensor<2xcomplex>