From: Yong Tang Date: Tue, 15 May 2018 00:58:36 +0000 (-0700) Subject: Add tf.regex_match for regex match support (#19160) X-Git-Tag: upstream/v1.9.0_rc1~121 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=d8fac4cb80eb0c42d2550bcb720a80d29fc5f22d;p=platform%2Fupstream%2Ftensorflow.git Add tf.regex_match for regex match support (#19160) * Add tf.regex_match for regex match support This fix tries to address the issue raised in 18264. Currently tf.regex_replace has already been supported though there was no regex match support. This fix adds the tf.regex_match support in a similiar pattern as tf.regex_replace. This fix fixes 18264. Signed-off-by: Yong Tang * Update BUILD file for the tf.regex_match kernel Signed-off-by: Yong Tang * Register RegexMatch ops Signed-off-by: Yong Tang * Add test cases for tf.regex_match Signed-off-by: Yong Tang * Update api_defs Signed-off-by: Yong Tang * Update API golden update with: ``` bazel-bin/tensorflow/tools/api/tests/api_compatibility_test --update_goldens True ``` Signed-off-by: Yong Tang * Expose regex_full_match in tf.strings namespace Signed-off-by: Yong Tang * Update golden API ``` bazel-bin/tensorflow/tools/api/tests/api_compatibility_test --update_goldens True ``` Signed-off-by: Yong Tang --- diff --git a/tensorflow/core/api_def/base_api/api_def_RegexFullMatch.pbtxt b/tensorflow/core/api_def/base_api/api_def_RegexFullMatch.pbtxt new file mode 100644 index 0000000..8cef243 --- /dev/null +++ b/tensorflow/core/api_def/base_api/api_def_RegexFullMatch.pbtxt @@ -0,0 +1,30 @@ +op { + graph_op_name: "RegexFullMatch" + in_arg { + name: "input" + description: <