code: def union(*arrays):
      return torch.unique(torch.cat(arrays))
  
file_path: dgl/examples/pytorch/labor/ladies_sampler.py
imports: import dgl
  import dgl.function
  import torch
label_desc: Use image node_id 2 for calling a global function with example usage: union() and returns: torch