From 44f9f8324c0e1849f47fd0d5eb64d99082dd051c Mon Sep 17 00:00:00 2001 From: Tian Jin Date: Tue, 24 Dec 2019 03:31:19 -0500 Subject: [PATCH] use tanh op --- test-tanh.mlir | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/test-tanh.mlir b/test-tanh.mlir index 3c0f810..53395ed 100644 --- a/test-tanh.mlir +++ b/test-tanh.mlir @@ -1,4 +1,4 @@ -func @test_exp(%arg0 : tensor) -> tensor<*xf32> { - %0 = "onnx.Exp"(%arg0) : (tensor) -> tensor<*xf32> +func @test_tanh(%arg0 : tensor) -> tensor<*xf32> { + %0 = "onnx.Tanh"(%arg0) : (tensor) -> tensor<*xf32> "std.return"(%0) : (tensor<*xf32>) -> () -} +} \ No newline at end of file