class_docstr: Step method composed of a list of several other step
  methods applied in sequence.
class_docstr_tok: ["Step","method","composed","of","a","list","of","several","other","step","methods","applied","in","sequence","."]
code: def __init__(self, methods):
      self.methods = list(methods)
      self.stats_dtypes = []
      for method in self.methods:
          self.stats_dtypes.extend(method.stats_dtypes)
      self.stats_dtypes_shapes = get_stats_dtypes_shapes_from_steps(
          methods
      )
      self.name = f"Compound[{', '.join(getattr(m, 'name', 'UNNAMED_STEP') for m in self.methods)}]"
      self.tune = True
  
imports: import warnings
  from abc import ABC, abstractmethod
  from enum import IntEnum, unique
  from typing import Any, Dict, Iterable, List, Mapping, Sequence, Tuple, Union
  import numpy
  from pytensor.graph.basic import Variable
  from pymc.blocking import PointType, StatDtype, StatsDict, StatShape, StatsType
  from pymc.model import modelcontext
label_desc: Use image node_id 1 to create a new CompoundStep object  with example: obj = CompoundStep(methods)