class_docstr: Quaternion Knowledge Graph Embedding.
  https://arxiv.org/abs/1904.10281
class_docstr_tok: ["Quaternion","Knowledge","Graph","Embedding",".","https",":","\/\/arxiv.org\/abs\/1904.10281"]
code: def __init__(self, num_ents):
      super(QuatEScore, self).__init__()
      self.num_ents = num_ents
  
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 QuatEScore object from inherited base classes: ScoreFunc with example: obj = QuatEScore(num_ents)