class_docstr: Sequence-to-sequence base class.
class_docstr_tok: ["Sequence-to-sequence","base","class","."]
docstr: Get train summary.
docstr_tok: ["Get","train","summary","."]
code: def _get_train_summary(self):
      """Get train summary."""
      train_summary = tf.summary.merge(
          [
              tf.summary.scalar("lr", self.learning_rate),
              tf.summary.scalar("train_loss", self.train_loss),
          ]
          + self.grad_norm_summary
      )
      return train_summary
  
imports: from __future__ import absolute_import
  from __future__ import division
  from __future__ import print_function
  import abc
  import collections
  import tensorflow
  from tensorflow.contrib.model_pruning import get_masks, get_thresholds
  from tensorflow.contrib.model_pruning.python import pruning
  from tensorflow.contrib.model_pruning.python.layers import core_layers
  from .None import model_helper
  from .utils import misc_utils, iterator_utils
label_desc: Use image node_id 8 for calling the BaseModel obj's underlying member method code with example usage: obj._get_train_summary() and returns: train_summary