code: def static_warper(
      temperature: Optional[float],
      top_k: Optional[int],
      top_p: Optional[float],
      typical_p: Optional[float],
  ) -> StaticWarper:
      return StaticWarper(
          temperature=temperature,
          top_k=top_k,
          top_p=top_p,
          typical_p=typical_p,
      )
  
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 for calling a global function with example usage: static_warper(temperature, top_k, top_p, typical_p) and returns: StaticWarper