import tensorflow as tf


        return output

    def dense_layer(self, data, num_tags):
        logits = tf.layers.dense(data, num_tags)

        return logits

    def load_tag_data(self):
        # data = np.loadtxt(self.params['tags'], dtype=np.unicode, encoding=None)
        data = self.params["tags_data"]
        mapping_strings = tf.Variable(data)

        return mapping_strings

    def load_word_data(self):
        data = np.loadtxt(self.params["words"], dtype=np.unicode, encoding=None)
        mapping_strings = tf.Variable(data.reshape((-1,)))

        return mapping_strings

    def tag2id(self, labels, name=None):
