Skip to content

Commit e4dc88c

Browse files
authored
Update flex ops test for the TFLite front-end test (#10164)
1 parent 57ec69d commit e4dc88c

1 file changed

Lines changed: 1 addition & 2 deletions

File tree

‎integrations/tensorflow/iree_tf_compiler/TFL/test/flex_ops.mlir‎

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,4 @@
11
// RUN: iree-opt-tflite --split-input-file --iree-tflite-import-pipeline %s | FileCheck %s
2-
// XFAIL: *
32
// Disabled as part of 2022-08-12 integrate: https://github.com/iree-org/iree/issues/10091
43

54
// This test was generated by importing a TFLite model that contained flex ops.
@@ -10,6 +9,6 @@
109
func.func @test_flex_ops(%arg0: tensor<?x2x64xf32>, %arg1: tensor<1x1x64xf32>) -> tensor<*xf32> {
1110
// CHECK: %[[ADD:.+]] = "tosa.add"(%arg0, %arg1) : (tensor<?x2x64xf32>, tensor<1x1x64xf32>)
1211
// CHECK: return %[[ADD]] : tensor<?x2x64xf32>
13-
%0 = "tfl.custom"(%arg0, %arg1) {custom_code = "FlexAddV2", custom_option = opaque<"tfl", "0x054164645632002E120541646456321A001A002A070A01541202300132180A16726573696475616C5F626C6F636B5F2E5F302F616464000237311414042801"> : tensor<63xi8>} : (tensor<?x2x64xf32>, tensor<1x1x64xf32>) -> tensor<*xf32>
12+
%0 = "tfl.custom"(%arg0, %arg1) {custom_code = "FlexAddV2", custom_option = #tfl<const_bytes :"0x054164645632002E120541646456321A001A002A070A01541202300132180A16726573696475616C5F626C6F636B5F2E5F302F616464000237311414042801"> : tensor<63xi8>} : (tensor<?x2x64xf32>, tensor<1x1x64xf32>) -> tensor<*xf32>
1413
return %0: tensor<*xf32>
1514
}

0 commit comments

Comments
 (0)