From 4707a22ee238aeaa9802667e268f62b9cb28dd06 Mon Sep 17 00:00:00 2001 From: David Rubinstein Date: Thu, 27 Jul 2023 19:50:10 -0400 Subject: [PATCH] Fix const-fold test --- tensorflow/compiler/mlir/lite/tests/const-fold.mlir | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/tensorflow/compiler/mlir/lite/tests/const-fold.mlir b/tensorflow/compiler/mlir/lite/tests/const-fold.mlir index f244d15294c2535..70e0a4cd5f26fd4 100644 --- a/tensorflow/compiler/mlir/lite/tests/const-fold.mlir +++ b/tensorflow/compiler/mlir/lite/tests/const-fold.mlir @@ -162,8 +162,8 @@ func.func @elementwise_unary_ops() -> (tensor, tensor, tensor, te %6 = arith.constant dense<2.0> : tensor // CHECK-DAG: [[cst0:%.*]] = arith.constant dense<1.000000e+00> : tensor - // CHECK-DAG: [[cst1:%.*]] = arith.constant dense<0.841470957> : tensor - // CHECK-DAG: [[cst2:%.*]] = arith.constant dense<0.540302277> : tensor + // CHECK-DAG: [[cst1:%.*]] = arith.constant dense<8.414710e-01> : tensor + // CHECK-DAG: [[cst2:%.*]] = arith.constant dense<0.540302336> : tensor // CHECK-DAG: [[cst3:%.*]] = arith.constant dense<0.000000e+00> : tensor // CHECK-DAG: [[cst4:%.*]] = arith.constant dense<2.000000e+00> : tensor // CHECK-DAG: [[cst5:%.*]] = arith.constant dense<5.000000e-01> : tensor