class_docstr: A wrapper for logit warpers or processors without heterogeneous parameter support.
  Args:
      processors (`Dict[int, Union[LogitsProcessor, LogitsWarper]]`):
          A mapping of sample indices to logit warpers or processors, to be run sequentially.
code: def __init__(
      self,
      processors: Dict[int, Union[LogitsProcessor, LogitsWarper]],
  ):
      self.processors = processors
  
imports: import math
  import torch
  from functools import lru_cache
  from typing import Optional, List, Dict, Union
  from transformers import LogitsWarper, LogitsProcessor, TemperatureLogitsWarper, TopKLogitsWarper, TopPLogitsWarper, TypicalLogitsWarper
label_desc: Use image node_id 1 to create a new HeterogeneousProcessorWrapper object from inherited base classes: LogitsProcessor with example: obj = HeterogeneousProcessorWrapper(processors)