'Creates a decoder instance based on the passed parameters.'

def _create_decoder(self, _encoder_output, _features, _labels):

    return self.decoder_class(params=self.params[u'decoder.params'], mode=self.mode, vocab_size=self.target_vocab_info.total_size)
