From 787f185cd73a8b090a3dadc1432e9bfdf527e345 Mon Sep 17 00:00:00 2001 From: Patrick Nguyen Date: Wed, 23 May 2018 09:54:06 -0700 Subject: [PATCH] Fix typo in error message. PiperOrigin-RevId: 197741341 --- tensorflow/core/framework/op.cc | 4 ++-- tensorflow/core/graph/graph_constructor_test.cc | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/tensorflow/core/framework/op.cc b/tensorflow/core/framework/op.cc index 0873d4e..b8309ea 100644 --- a/tensorflow/core/framework/op.cc +++ b/tensorflow/core/framework/op.cc @@ -97,7 +97,7 @@ Status OpRegistry::LookUp(const string& op_type_name, "Make sure the Op and Kernel are registered in the " "binary running in this process. Note that if you " "are loading a saved graph which used ops from " - "tf.contrib, accessing (e.g.) `tf.contrib.resampler` should be done" + "tf.contrib, accessing (e.g.) `tf.contrib.resampler` should be done " "before importing the graph, as contrib ops are lazily registered " "when the module is first accessed."); VLOG(1) << status.ToString(); @@ -256,7 +256,7 @@ Status OpListOpRegistry::LookUp(const string& op_type_name, "Make sure the Op and Kernel are registered in the " "binary running in this process. Note that if you " "are loading a saved graph which used ops from " - "tf.contrib, accessing (e.g.) `tf.contrib.resampler` should be done" + "tf.contrib, accessing (e.g.) `tf.contrib.resampler` should be done " "before importing the graph, as contrib ops are lazily registered " "when the module is first accessed."); } diff --git a/tensorflow/core/graph/graph_constructor_test.cc b/tensorflow/core/graph/graph_constructor_test.cc index c54b4fa..6309870 100644 --- a/tensorflow/core/graph/graph_constructor_test.cc +++ b/tensorflow/core/graph/graph_constructor_test.cc @@ -3170,7 +3170,7 @@ TEST_F(GraphConstructorTest, ImportGraphDef_UnknownOps) { {"Make sure the Op and Kernel are registered in the " "binary running in this process. Note that if you " "are loading a saved graph which used ops from " - "tf.contrib, accessing (e.g.) `tf.contrib.resampler` should be done" + "tf.contrib, accessing (e.g.) `tf.contrib.resampler` should be done " "before importing the graph, as contrib ops are lazily registered " "when the module is first accessed."}); } -- 2.7.4