code: def _calc_ingr(self, h, r, t):
      return torch.sum(h * r * t, -1)
  
file_path: OpenKE/openke/module/model/SimplE.py
imports: import torch
  import torch.nn
  from .Model import Model
label_desc: Use image node_id 3 for calling the SimplE obj's underlying member method code with example usage: obj._calc_ingr(h, r, t) and returns: torch