docstr: get the structure of current sequential
docstr_tok: ["get","the","structure","of","current","sequential"]
code: def to_dict(self):
      """
      get the structure of current sequential
      """
      layer_confs = {}
      idx = 0
      for k in self._modules:
          ordered_name = idx
          layer_confs[ordered_name] = self._modules[k].to_dict()
          idx += 1
      ret_dict = {
          "module_name": "fate.components.components.nn.torch.base",
          "item_name": load_seq.__name__,
          "kwargs": {"seq_conf": layer_confs},
      }
      return ret_dict
  
imports: import torch
  from fate.components.components.nn.loader import Loader
  from torch.nn import Sequential
  import json
label_desc: Use image node_id 1 for calling the Sequential obj's underlying member method code with example usage: obj.to_dict() and returns: ret_dict