aboutsummaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorGravatar Peter Ma <pcma@google.com>2018-10-09 09:24:57 -0700
committerGravatar TensorFlower Gardener <gardener@tensorflow.org>2018-10-09 09:34:02 -0700
commit92d533d19c44ab838a1f7954350fdafd62cfa889 (patch)
tree641e9ce2041265bf75f185ec92ec76c7dd7ce767
parentdf11cce2e600581087f29ef0b85286f7e582572d (diff)
Change LOG(WARNING) to VLOG(1) in utils
PiperOrigin-RevId: 216369081
-rw-r--r--tensorflow/core/grappler/costs/utils.cc4
1 files changed, 2 insertions, 2 deletions
diff --git a/tensorflow/core/grappler/costs/utils.cc b/tensorflow/core/grappler/costs/utils.cc
index 2fcadf1de3..87b74e2952 100644
--- a/tensorflow/core/grappler/costs/utils.cc
+++ b/tensorflow/core/grappler/costs/utils.cc
@@ -209,7 +209,7 @@ int64 CalculateTensorSize(const OpInfo::TensorProperties& prop) {
// Can't infer the size if the rank is unknown. It has to be at least a
// scalar though.
if (shape.unknown_rank()) {
- LOG(WARNING) << "CalculateTensorSize() -- unknown rank";
+ VLOG(1) << "CalculateTensorSize() -- unknown rank";
return size;
}
@@ -217,7 +217,7 @@ int64 CalculateTensorSize(const OpInfo::TensorProperties& prop) {
for (int i = 0; i < shape.dim_size(); ++i) {
if (shape.dim(i).size() < 0) {
shape.mutable_dim(i)->set_size(1);
- LOG(WARNING) << "CalculateTensorSize() -- unknown dim: " << i;
+ VLOG(1) << "CalculateTensorSize() -- unknown dim: " << i;
}
}