code: def complex_cat(inputs, axis):
      real, imag = [], []
      for idx, data in enumerate(inputs):
          r, i = torch.chunk(data, 2, axis)
          real.append(r)
          imag.append(i)
      real = torch.cat(real, axis)
      imag = torch.cat(imag, axis)
      outputs = torch.cat([real, imag], axis)
      return outputs
  
imports: import torch
  import torch.nn
  import torch.nn.functional
label_desc: Use image node_id 1 for calling a global function with example usage: complex_cat(inputs, axis) and returns: outputs