code: def __init__(
      cls, name: str, bases: Tuple[Type[Any], ...], dct: Dict[str, Any]
  ) -> None:
      for k, v in dct.items():
          if k.startswith("export"):
              if not isinstance(v, staticmethod):
                  raise ValueError(
                      "Only staticmethods could be named as export.*"
                  )
              export = getattr(cls, k)
              Snippets[name].append(process_snippet(name, k, export))
              # export functions should call expect and so populate
              # TestCases
              np.random.seed(seed=0)
              export()
      super().__init__(name, bases, dct)
  
file_path: onnx/onnx/backend/test/case/base.py
imports: import inspect
  from collections import defaultdict
  from textwrap import dedent
  from typing import Any, ClassVar, Dict, List, Tuple, Type
  import numpy
label_desc: Use image node_id 1 to create a new _Exporter object from inherited base classes: type with example: obj = _Exporter(cls, name, bases, dct)