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 depended on: {self.dependencies},\n"
          f" partition dependents: {self.dependents}"
      )
  
file_path: pytorch/torch/fx/passes/split_module.py
imports: import inspect
  from typing import Any, Callable, Dict, List, Optional, Set, TYPE_CHECKING
  from collections import OrderedDict
  import logging
  import torch
  from torch.fx._compatibility import compatibility
  from torch.fx.graph_module import GraphModule
  from torch.fx.node import Node
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