def METHOD_NAME(self, head, rel, tail):
    """
    Score function of TransR
    """
    head = fluid.layers.l2_normalize(head, axis=-1)
    rel = fluid.layers.l2_normalize(rel, axis=-1)
    tail = fluid.layers.l2_normalize(tail, axis=-1)
    score = head + rel - tail
    return score