code: def from_pretrained(self, pretrained_gmf):
      self.user_embedding.weight.data.copy_(
          pretrained_gmf.user_embedding.weight
      )
      self.item_embedding.weight.data.copy_(
          pretrained_gmf.item_embedding.weight
      )
      self.logit.weight.data.copy_(pretrained_gmf.logit.weight)
      self.logit.bias.data.copy_(pretrained_gmf.logit.bias)
  
imports: import torch
  import torch.nn
label_desc: Use image node_id 3 for calling the GMF obj's underlying member method code with example usage: obj.from_pretrained(pretrained_gmf) without return types