use tanh op

This commit is contained in:
Tian Jin 2019-12-24 03:31:19 -05:00
parent 9eeb48addb
commit 44f9f8324c
1 changed files with 3 additions and 3 deletions

View File

@ -1,4 +1,4 @@
func @test_exp(%arg0 : tensor<?x10xf32>) -> tensor<*xf32> {
%0 = "onnx.Exp"(%arg0) : (tensor<?x10xf32>) -> tensor<*xf32>
func @test_tanh(%arg0 : tensor<?x10xf32>) -> tensor<*xf32> {
%0 = "onnx.Tanh"(%arg0) : (tensor<?x10xf32>) -> tensor<*xf32>
"std.return"(%0) : (tensor<*xf32>) -> ()
}