class_docstr: Adapted from https://github.com/pytorch/pytorch/blob/master/torch/fx/passes/split_module.py
code: def __repr__(self) -> str:
      return (
          f"name: {self.name},\n"
          f" nodes: {self.node_names},\n"
          f" inputs: {self.inputs},\n"
          f" outputs: {self.outputs},\n"
          f" partitions dependent on: {self.partitions_dependent_on},\n"
          f" partition dependents: {self.partition_dependents}"
      )
  
file_path: ColossalAI/colossalai/fx/passes/split_module.py
imports: import inspect
  from typing import Any, Callable, Dict, List, Optional
  import torch
  from packaging import version
  from torch.fx._compatibility import compatibility
  from torch.fx.graph_module import GraphModule
label_desc: Use image node_id 2 for calling the Partition obj's underlying member method code with example usage: obj.__repr__() and returns: str, self, str, self, str, self, str, self, str, self, str, self