Skip to content

Commit 5331a51

Browse files
abatterytensorflower-gardener
authored andcommitted
Add TensorFlow RegexFullMatch ops to Flex
PiperOrigin-RevId: 342989292 Change-Id: Ibe3e9ec3e7f2fa7d5b77bf5eb52fdf99a1f24112
1 parent 0325a38 commit 5331a51

File tree

2 files changed

+3
-0
lines changed

2 files changed

+3
-0
lines changed

tensorflow/core/kernels/BUILD

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6204,6 +6204,7 @@ filegroup(
62046204
"reduction_ops_prod.cc",
62056205
"reduction_ops_sum.cc",
62066206
"regex_replace_op.cc",
6207+
"regex_full_match_op.cc",
62076208
"relu_op.cc",
62086209
"reshape_util.cc",
62096210
"restore_op.cc",

tensorflow/lite/delegates/flex/allowlisted_flex_ops.cc

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -380,6 +380,7 @@ const std::set<std::string>& GetFlexAllowlist() {
380380
"RefNextIteration",
381381
"RefSelect",
382382
"RefSwitch",
383+
"RegexFullMatch",
383384
"RegexReplace",
384385
"Relu",
385386
"Relu6",
@@ -540,6 +541,7 @@ const std::set<std::string>& GetFlexAllowlist() {
540541
"StatelessSampleDistortedBoundingBox",
541542
"StatelessTruncatedNormal",
542543
"StatelessTruncatedNormalV2",
544+
"StaticRegexFullMatch",
543545
"StaticRegexReplace",
544546
"StopGradient",
545547
"StridedSlice",

0 commit comments

Comments
 (0)