code: def _stack_agg_func(
      inputs, dsttype
  ):  # pylint: disable=unused-argument
      if len(inputs) == 0:
          return None
      return th.stack(inputs, dim=1)
  
imports: from functools import partial
  import torch
  import torch.nn
  from ...base import DGLError
label_desc: Use image node_id 5 for calling a global function with example usage: _stack_agg_func(inputs, dsttype) and returns: th, None