aboutsummaryrefslogtreecommitdiffhomepage
path: root/tensorflow/core/util/padding.h
diff options
context:
space:
mode:
Diffstat (limited to 'tensorflow/core/util/padding.h')
-rw-r--r--tensorflow/core/util/padding.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/tensorflow/core/util/padding.h b/tensorflow/core/util/padding.h
index d6d970d27a..989a71b24f 100644
--- a/tensorflow/core/util/padding.h
+++ b/tensorflow/core/util/padding.h
@@ -44,7 +44,7 @@ enum Padding {
string GetPaddingAttrString();
// Specialization to parse an attribute directly into a Padding enum.
-Status GetNodeAttr(const NodeDef& node_def, const string& attr_name,
+Status GetNodeAttr(const NodeDef& node_def, StringPiece attr_name,
Padding* value);
} // end namespace tensorflow