import tensorflow as tf

        with tf.variable_scope("decoder_symbols_seq2seq"):
          dec, mem = tf.nn.seq2seq.embedding_tied_rnn_seq2seq(
              enc_inp, dec_inp, cell, num_symbols=5, num_decoder_symbols=3,
              embedding_size=2)
        sess.run([tf.global_variables_initializer()])
        res = sess.run(dec)
        self.assertEqual(3, len(res))
        self.assertEqual((2, 3), res[0].shape)
