[MLIR][KernelGen] Add test for tf.Erf operation

PiperOrigin-RevId: 352392820
Change-Id: Id0deacc1b7bf623a0d5b1f9201f8eb133787ad01
This commit is contained in:
A. Unique TensorFlower 2021-01-18 05:05:58 -08:00 committed by TensorFlower Gardener
parent e19e3d081a
commit 6a9c366ae0

View File

@ -26,3 +26,9 @@ func @sinh(%arg0: tensor<*xf32>) -> tensor<*xf32> {
%0 = "tf.Sinh"(%arg0) { } : (tensor<*xf32>) -> tensor<*xf32>
return %0 : tensor<*xf32>
}
func @erf(%arg0: tensor<*xf32>) -> tensor<*xf32> {
%0 = "tf.Erf"(%arg0) { } : (tensor<*xf32>) -> tensor<*xf32>
return %0 : tensor<*xf32>
}