code: def pytree_register_structseq(cls):
      def structseq_flatten(structseq):
          return list(structseq), None
  
      def structseq_unflatten(values, context):
          return cls(values)
  
      torch.utils._pytree.register_pytree_node(
          cls, structseq_flatten, structseq_unflatten
      )
  
label_desc: Use image node_id 1 for calling a global function with example usage: pytree_register_structseq(cls) and returns: list,  None, cls