class_docstr: Orthogonal Relation Transforms with Graph Context Modeling for Knowledge Graph Embedding.
  https://aclanthology.org/2020.acl-main.241/
class_docstr_tok: ["Orthogonal","Relation","Transforms","with","Graph","Context","Modeling","for","Knowledge","Graph","Embedding",".","https",":","\/\/aclanthology.org\/2020.acl-main.241\/"]
docstr: Get scaled tensor of inverse relations.
          
docstr_tok: ["Get","scaled","tensor","of","inverse","relations","."]
code: def reverse_scale(self, scale, eps=1e-9):
      """Get scaled tensor of inverse relations."""
      if self.scale_type == 1:
          return 1 / (scale.abs() + eps)
      if self.scale_type == 2:
          return -scale
      raise ValueError(
          "Scale Type %d is not supported!" % self.scale_type
      )
  
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 5 for calling the OTEScore obj's underlying member method code with example usage: obj.reverse_scale(scale, eps) and returns: unknown, unknown