import tensorflow as tf



class PairwiseGMF(ModelBase):

    def __init__(self, config):
        """
        :param config:
        """
        # super(PairwiseGMF, self).__init__(config)
        self.config = config
        self._activation_fn = tf.nn.relu
        self._embedding_initializers = {
            'embeddings': tf.truncated_normal_initializer(stddev=0.01),
        }

        self._embedding_regularizers = {}

        self._initializers = {
            "w": tf.contrib.layers.xavier_initializer(),
        }

        self._regularizers = {
            'w': tf.contrib.layers.l2_regularizer(config.l2)
        }
