Add accuracy field to unary ops
* Cbrt * Cos * Exp, Exp2 * Expm1 * Log * Logistic * Log1p * Rsqrt * Sin * Sqrt * Tan * Tanh which allows users to select implementation that will satisfy the requested accuracy. PiperOrigin-RevId: 693921774
Showing
- tensorflow/compiler/mlir/lite/stablehlo/transforms/legalize_hlo_patterns.td 11 additions, 11 deletions...r/mlir/lite/stablehlo/transforms/legalize_hlo_patterns.td
- tensorflow/compiler/mlir/lite/stablehlo/transforms/legalize_tf_patterns.td 19 additions, 17 deletions...er/mlir/lite/stablehlo/transforms/legalize_tf_patterns.td
- tensorflow/compiler/mlir/lite/stablehlo/transforms/tflite_legalize_hlo_patterns.td 13 additions, 13 deletions...lite/stablehlo/transforms/tflite_legalize_hlo_patterns.td
- tensorflow/compiler/mlir/tf2xla/transforms/legalize_tf_patterns.td 18 additions, 15 deletions...w/compiler/mlir/tf2xla/transforms/legalize_tf_patterns.td
- third_party/stablehlo/temporary.patch 5075 additions, 58 deletionsthird_party/stablehlo/temporary.patch
- third_party/xla/third_party/stablehlo/temporary.patch 5075 additions, 58 deletionsthird_party/xla/third_party/stablehlo/temporary.patch
- third_party/xla/xla/hlo/translate/mhlo_to_hlo/mlir_hlo_to_hlo.cc 11 additions, 5 deletions...arty/xla/xla/hlo/translate/mhlo_to_hlo/mlir_hlo_to_hlo.cc
- third_party/xla/xla/mlir_hlo/mhlo/IR/hlo_ops.cc 150 additions, 9 deletionsthird_party/xla/xla/mlir_hlo/mhlo/IR/hlo_ops.cc
- third_party/xla/xla/mlir_hlo/mhlo/IR/hlo_ops.td 57 additions, 2 deletionsthird_party/xla/xla/mlir_hlo/mhlo/IR/hlo_ops.td
- third_party/xla/xla/mlir_hlo/tests/Dialect/mhlo/hlo-legalize-to-stablehlo.mlir 53 additions, 0 deletions...lir_hlo/tests/Dialect/mhlo/hlo-legalize-to-stablehlo.mlir
- third_party/xla/xla/mlir_hlo/tests/Dialect/mhlo/ops.mlir 15 additions, 4 deletionsthird_party/xla/xla/mlir_hlo/tests/Dialect/mhlo/ops.mlir
- third_party/xla/xla/mlir_hlo/tests/Dialect/mhlo/stablehlo-legalize-to-hlo.mlir 49 additions, 6 deletions...lir_hlo/tests/Dialect/mhlo/stablehlo-legalize-to-hlo.mlir
Please register or sign in to comment