Change log to vlog to avoid spamming logs

PiperOrigin-RevId: 358445685
Change-Id: Idcff7f096dc331f023d6b5d4cce2d9e453091141
This commit is contained in:
Mingming Liu 2021-02-19 11:24:58 -08:00 committed by TensorFlower Gardener
parent 2401461cee
commit 03b926d9f9

View File

@ -71,13 +71,13 @@ Status BatchOpRewriter::Init(
return ::tensorflow::errors::Internal(
"Failed to parse batch_op_rewrite_config from params.");
}
LOG(INFO) << "BatchOp Rewrite config is " << config_.DebugString();
VLOG(2) << "BatchOp Rewrite config is " << config_.DebugString();
return ::tensorflow::Status::OK();
}
Status BatchOpRewriter::Optimize(Cluster* cluster, const GrapplerItem& item,
GraphDef* optimized_graph) {
LOG(INFO) << "Running BatchOp Rewriter";
VLOG(2) << "Running BatchOp Rewriter";
*optimized_graph = item.graph;
if (config_.enable_adaptive_shared_batching_thread_pool()) {