code: def rating(self, u_g_embeddings, pos_i_g_embeddings):
      return torch.matmul(u_g_embeddings, pos_i_g_embeddings.t())
  
file_path: dgl/examples/pytorch/NGCF/NGCF/model.py
imports: import dgl.function
  import torch
  import torch.nn
  import torch.nn.functional
label_desc: Use image node_id 3 for calling the NGCF obj's underlying member method code with example usage: obj.rating(u_g_embeddings, pos_i_g_embeddings) and returns: torch