aboutsummaryrefslogtreecommitdiffhomepage
path: root/tensorflow/core/grappler/utils
diff options
context:
space:
mode:
authorGravatar A. Unique TensorFlower <gardener@tensorflow.org>2018-08-02 14:59:12 -0700
committerGravatar TensorFlower Gardener <gardener@tensorflow.org>2018-08-02 15:04:07 -0700
commita12135ff5f8cb786608c1caf3460efd61f32c4c5 (patch)
tree9369d221371d8615c86c5f19933b2d091e888783 /tensorflow/core/grappler/utils
parent993cc8c704cba9dfb780448a7620c2af38605a9b (diff)
Allow Capital letters in function output name in ExpandFunctionDefInput in
grappler functions. PiperOrigin-RevId: 207171072
Diffstat (limited to 'tensorflow/core/grappler/utils')
-rw-r--r--tensorflow/core/grappler/utils/functions.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/tensorflow/core/grappler/utils/functions.cc b/tensorflow/core/grappler/utils/functions.cc
index d64cb49715..fd71406d2c 100644
--- a/tensorflow/core/grappler/utils/functions.cc
+++ b/tensorflow/core/grappler/utils/functions.cc
@@ -119,7 +119,7 @@ Status GrapplerFunctionConnectivity::ExpandFunctionDefInput(
if (Scanner(remaining)
.OneLiteral(":")
.RestartCapture()
- .One(strings::Scanner::LOWERLETTER)
+ .One(strings::Scanner::LETTER)
.Any(strings::Scanner::LETTER_DIGIT_UNDERSCORE)
.GetResult(&remaining, &capture)) {
node_output = string(capture.data(), capture.size());