aboutsummaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorGravatar A. Unique TensorFlower <gardener@tensorflow.org>2017-02-15 15:33:19 -0800
committerGravatar TensorFlower Gardener <gardener@tensorflow.org>2017-02-15 15:44:17 -0800
commit9f12dd9bf44797abe1a22e4520d405704d133d9c (patch)
tree25ed2a7024f773a69c91277254a02edc301e8523
parentdf5d3cd42335e31bccb6c796169d000d73c747d3 (diff)
Produce an amount of log output that is only linear, not quadratic, in the number of variables if all variables are misnamed.
Change: 147653662
-rw-r--r--tensorflow/core/util/tensor_bundle/tensor_bundle.cc3
1 files changed, 1 insertions, 2 deletions
diff --git a/tensorflow/core/util/tensor_bundle/tensor_bundle.cc b/tensorflow/core/util/tensor_bundle/tensor_bundle.cc
index 6d0229520c..a52e4f940c 100644
--- a/tensorflow/core/util/tensor_bundle/tensor_bundle.cc
+++ b/tensorflow/core/util/tensor_bundle/tensor_bundle.cc
@@ -612,8 +612,7 @@ Status BundleReader::GetBundleEntryProto(StringPiece key,
TF_CHECK_OK(status_);
Seek(key);
if (!iter_->Valid() || iter_->key() != key) {
- return errors::NotFound("Key ", key, " not found in checkpoint. Found: \n",
- DebugString());
+ return errors::NotFound("Key ", key, " not found in checkpoint");
}
BundleEntryProto entry_copy;