docstr: (Experimental) Simultaneous execution of multiple compression logics.
docstr_tok: ["(","Experimental",")","Simultaneous","execution","of","multiple","compression","logics","."]
code: def _fusion_compress(
      self, max_steps: int | None, max_epochs: int | None
  ) -> None:
      """
      (Experimental) Simultaneous execution of multiple compression logics.
      """
      assert self.evaluator is not None
      assert max_steps is not None or max_epochs is not None
      self.evaluator.bind_model(
          self.bound_model, self._get_param_names_map()
      )
      for compressor in self.fused_compressors:
          compressor._fuse_preprocess(self.evaluator)
      self.evaluator.train(max_steps, max_epochs)
      for compressor in self.fused_compressors:
          compressor._fuse_postprocess(self.evaluator)
      self.evaluator.unbind_model()
  
imports: from __future__ import annotations
  from collections import defaultdict
  from copy import deepcopy
  import logging
  from typing import Any, Dict, List, Literal, Callable
  import torch
  from torch.utils._pytree import tree_map
  from .config import trans_legacy_config_list, default_config_schema
  from .target_space import TargetSpace, TargetType, DistillationTargetSpace, PruningTargetSpace, QuantizationTargetSpace
  from .wrapper import ModuleWrapper, register_wrappers
  from ..utils import Evaluator, Scaling, _EVALUATOR_DOCSTRING
label_desc: Use image node_id 11 for calling the Compressor obj's underlying member method code with example usage: obj._fusion_compress(max_steps, max_epochs) without return types