code: def _calc(self, h_re, h_im, h, t_re, t_im, t, r_re, r_im, r):
      return -torch.sum(
          r_re * h_re * t_re
          + r_re * h_im * t_im
          + r_im * h_re * t_im
          - r_im * h_im * t_re,
          -1,
      ) - torch.sum(h * t * r, -1)
  
file_path: OpenKE/openke/module/model/Analogy.py
imports: import torch
  import torch.nn
  import torch.nn.functional
  from .Model import Model
label_desc: Use image node_id 2 for calling the Analogy obj's underlying member method code with example usage: obj._calc(h_re, h_im, h, t_re, t_im, t, r_re, r_im, r) and returns: unknown