code: def _transfer(self, e, r_transfer):
      r_transfer = r_transfer.view(-1, self.dim_e, self.dim_r)
      if e.shape[0] != r_transfer.shape[0]:
          e = e.view(-1, r_transfer.shape[0], self.dim_e).permute(
              1, 0, 2
          )
          e = torch.matmul(e, r_transfer).permute(1, 0, 2)
      else:
          e = e.view(-1, 1, self.dim_e)
          e = torch.matmul(e, r_transfer)
      return e.view(-1, self.dim_r)
  
file_path: OpenKE/openke/module/model/TransR.py
imports: import torch
  import torch.nn
  import torch.nn.functional
  from .Model import Model
label_desc: Use image node_id 3 for calling the TransR obj's underlying member method code with example usage: obj._transfer(e, r_transfer) and returns: e