class_docstr: Base class for RNN decoders.
  
  Args:
    cell: An instance of ` tf.contrib.rnn.RNNCell`
    helper: An instance of `tf.contrib.seq2seq.Helper` to assist decoding
    initial_state: A tensor or tuple of tensors used as the initial cell
      state.
    name: A name for this module
class_docstr_tok: ["Base","class","for","RNN","decoders",".","Args",":","cell",":","An","instance","of","`","tf.contrib.rnn.RNNCell","`","helper",":","An","instance","of","`","tf.contrib.seq2seq.Helper","`","to","assist","decoding","initial_state",":","A","tensor","or","tuple","of","tensors","used","as","the","initial","cell","state",".","name",":","A","name","for","this","module"]
docstr: Applies final transformation to the decoder output once decoding is
  finished.
docstr_tok: ["Applies","final","transformation","to","the","decoder","output","once","decoding","is","finished","."]
code: def finalize(self, outputs, final_state):
      """Applies final transformation to the decoder output once decoding is
      finished.
      """
      # pylint: disable=R0201
      return (outputs, final_state)
  
imports: from __future__ import absolute_import
  from __future__ import division
  from __future__ import print_function
  from __future__ import unicode_literals
  import abc
  from collections import namedtuple
  import six
  import tensorflow
  from tensorflow.python.util import nest
  from seq2seq.graph_module import GraphModule
  from seq2seq.configurable import Configurable
  from seq2seq.contrib.seq2seq.decoder import Decoder, dynamic_decode
  from seq2seq.encoders.rnn_encoder import _default_rnn_cell_params
  from seq2seq.encoders.rnn_encoder import _toggle_dropout
  from seq2seq.training import utils
label_desc: Use image node_id 6 for calling the RNNDecoder obj's underlying member method code with example usage: obj.finalize(outputs, final_state) and returns: outputs,  final_state