def AddAdditionalDecoderSummaries(self, encoder_outputs, targets, seq_out_tas,
                                    softmax_input):
    """Add summaries not covered by the default activations summaries.

    Args:
      encoder_outputs: a NestedMap computed by encoder.
      targets: a NestedMap containing target info.
      seq_out_tas: a SequenceOutTensorArrays.
      softmax_input: a tensor of shape [batch, time, vocab_size].
    """
    if cluster_factory.Current().add_summary:
      self.fusion.AddAdditionalDecoderSummaries(
          encoder_outputs.encoded, encoder_outputs.padding, targets,
          seq_out_tas, softmax_input)
Add summaries not covered by the default activations summaries.

    Args:
      encoder_outputs: a NestedMap computed by encoder.
      targets: a NestedMap containing target info.
      seq_out_tas: a SequenceOutTensorArrays.
      softmax_input: a tensor of shape [batch, time, vocab_size].
    
contrib/lingvo-patched-decoder.py