onnx-mlir/test-tanh.mlir

5 lines
168 B
MLIR
Raw Normal View History

2019-12-24 15:22:48 +08:00
func @test_exp(%arg0 : tensor<?x10xf32>) -> tensor<*xf32> {
%0 = "onnx.Exp"(%arg0) : (tensor<?x10xf32>) -> tensor<*xf32>
"std.return"(%0) : (tensor<*xf32>) -> ()
}