aboutsummaryrefslogtreecommitdiffhomepage
path: root/tensorflow/core/framework/function_testlib.h
diff options
context:
space:
mode:
Diffstat (limited to 'tensorflow/core/framework/function_testlib.h')
-rw-r--r--tensorflow/core/framework/function_testlib.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/tensorflow/core/framework/function_testlib.h b/tensorflow/core/framework/function_testlib.h
index b67c5cb1ab..8cf3c6a680 100644
--- a/tensorflow/core/framework/function_testlib.h
+++ b/tensorflow/core/framework/function_testlib.h
@@ -48,7 +48,7 @@ class Attrs {
// Helper to construct a NodeDef.
NodeDef NDef(
- const string& name, const string& op, gtl::ArraySlice<string> inputs,
+ StringPiece name, StringPiece op, gtl::ArraySlice<string> inputs,
gtl::ArraySlice<std::pair<string, FunctionDefHelper::AttrValueWrapper>>
attrs = {},
const string& device = "");