class_docstr: This allows us to use a list of `TransformModule` in the same way as
  :class:`~torch.distributions.transform.ComposeTransform`. This is needed
  so that transform parameters are automatically registered by Pyro's param
  store when used in :class:`~pyro.nn.module.PyroModule` instances.
code: def __init__(self, parts, cache_size=0):
      super().__init__(parts, cache_size=cache_size)
      for part in parts:
          if isinstance(part, torch.nn.Module):
              self.append(part)
  
file_path: pyro/pyro/distributions/torch_transform.py
imports: import torch
label_desc: Use image node_id 1 to create a new ComposeTransformModule object from inherited base classes: torch.distributions, torch.nn with example: obj = ComposeTransformModule(parts, cache_size)