import tensorflow as tf

                self.embedding_W = tf.get_variable(name='lookup_W', shape=[num_quantized_chars, embedding_size],
                                                   initializer=tf.contrib.layers.variance_scaling_initializer())
            else:
                self.embedding_W = tf.Variable(tf.random_uniform([num_quantized_chars, embedding_size], -1.0, 1.0),name="embedding_W")
            self.embedded_characters = tf.nn.embedding_lookup(self.embedding_W, self.input_x)
            embedded_text_expand = tf.expand_dims(self.embedded_characters, -1)
