class_docstr: Overrides BaseDecoder to include rnn inputs in the output.
class_docstr_tok: ["Overrides","BaseDecoder","to","include","rnn","inputs","in","the","output","."]
code: def output_dtype(self):
      dtype = tf.nest.flatten(self._initial_state)[0].dtype
      return Seq2SeqLstmDecoderOutput(
          dtype,
          tf.nest.map_structure(
              lambda _: dtype, self._rnn_output_size()
          ),
          self._helper.sample_ids_dtype,
      )
  
imports: import collections
  from magenta.contrib import rnn
  from magenta.contrib import seq2seq
  import tensorflow.compat.v1
label_desc: Use image node_id 3 for calling the Seq2SeqLstmDecoder obj's underlying member method code with example usage: obj.output_dtype() and returns: Seq2SeqLstmDecoderOutput