code: def forward(self, uids, iids):
      ues = self.u_factors(uids)
      ies = self.i_factors(iids)
  
      preds = (self.dropout(ues) * self.dropout(ies)).sum(
          dim=1, keepdim=True
      )
      if self.use_bias:
          preds += (
              self.u_biases(uids)
              + self.i_biases(iids)
              + self.global_mean
          )
  
      return preds.squeeze()
  
file_path: cornac/cornac/models/mf/backend_pt.py
imports: import torch
  import torch.nn
  from tqdm.auto import trange
label_desc: Use image node_id 2 for calling the MF obj's underlying member method code with example usage: obj.forward(uids, iids) and returns: preds