message: TFTRT: split log for adding TRT node to two lines
diff: @@ -970,16 +970,9 @@ tensorflow::Status ConvertAfterShapes(ConversionParams& params) {
  &graph, alloc.get(), &engine_nodes);
  // If status is ok, we successfully added the node to the graph and can
  // remove segment ops. Otherwise graph is not modified.
  - string msg = StrCat("Adding TensorRT node ", engine.engine_name, " for segment ",
  - i, ", composed of ",
  + string msg = StrCat("Added TensorRT node ", engine.engine_name, " for segment ",
  + i, " consisting ",
  converted_segments.at(i).first.size(), " nodes");
  - if (VLOG_IS_ON(1)) {
  - StrAppend(&msg, " (");
  - for (const string& node_name : converted_segments.at(i).first) {
  - StrAppend(&msg, node_name, ", ");
  - }
  - StrAppend(&msg, ")");
  - }
  if (status.ok()) {
  LOG(INFO) << msg << " succeeded.";
  for (auto node_name : converted_segments.at(i).first) {
  @@ -987,8 +980,13 @@ tensorflow::Status ConvertAfterShapes(ConversionParams& params) {
  }
  } else {
  // Graph is not modified.
  - LOG(WARNING) << msg << " failed: " << status << ". Skipping...";
  + LOG(WARNING) << msg << " failed: " << status << ". Fallback to TF...";
  + }
  + msg = "Segment consists of nodes: ";
  + for (const string& node_name : converted_segments.at(i).first) {
  + StrAppend(&msg, node_name, ", ");
  }
  + VLOG(1) << msg;
  }
  cudaSetDevice(old_cuda_device);
  graph.ToGraphDef(params.output_graph_def);
  