class_docstr: Translating embeddings for modeling multi-relational data.
  https://www.utc.fr/~bordesan/dokuwiki/_media/en/transe_nips13.pdf
class_docstr_tok: ["Translating","embeddings","for","modeling","multi-relational","data",".","https",":","\/\/www.utc.fr\/~bordesan\/dokuwiki\/_media\/en\/transe_nips13.pdf"]
code: def __init__(self, gamma):
      super(TransEScore, self).__init__()
      self.gamma = gamma
  
imports: import math
  import numpy
  from numpy.random import RandomState
  import paddle
  import paddle.nn
  import paddle.nn.functional
  from paddle.nn.functional import log_sigmoid
label_desc: Use image node_id 1 to create a new TransEScore object from inherited base classes: ScoreFunc with example: obj = TransEScore(gamma)