Skip to content

Commit

Permalink
typo fix : Correct the float type in tanh test name (#2190)
Browse files Browse the repository at this point in the history
  • Loading branch information
abhigunj authored Apr 9, 2024
1 parent ad2a3b3 commit 1c5bad7
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions stablehlo/tests/interpret/tanh.mlir
Original file line number Diff line number Diff line change
Expand Up @@ -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<f32>>
%1 = stablehlo.tanh %0 : tensor<2xcomplex<f32>>
check.expect_almost_eq_const %1, dense<[(0.967786788, -0.0926378369), (1.00166273, 7.52857188E-4)]> : tensor<2xcomplex<f32>>
Expand All @@ -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<f64>>
%1 = stablehlo.tanh %0 : tensor<2xcomplex<f64>>
check.expect_almost_eq_const %1, dense<[(0.96778680215277412, -0.092637836268419898), (1.0016627850956348, 7.5285721538218659E-4)]> : tensor<2xcomplex<f64>>
Expand Down

0 comments on commit 1c5bad7

Please sign in to comment.