code: def format_acceleration_option(
      method_name: str, full_methods: Dict[str, AccelerationOption]
  ) -> str:
      """
      Get a string representation for current method's acceleration option
      """
      option = full_methods[method_name]
      repr_str = ""
      for key, value in option.__dict__.items():
          if value is True:
              if key == "pot" or key == "fx":
                  repr_str = repr_str + "int8" + " + "
              else:
                  repr_str = repr_str + key + " + "
          elif isinstance(value, str) and value != "ipex":
              repr_str = repr_str + value + " + "
      if len(repr_str) > 0:
          # remove " + " at last
          repr_str = repr_str[:-3]
      if repr_str == "":
          # if no acceleration is applied, just return "original"
          repr_str = "original"
      return repr_str
  
imports: import numbers
  from typing import Dict
  import sigfig
  from .acceleration_option import AccelerationOption
label_desc: Use image node_id 1 for calling a global function with example usage: format_acceleration_option(method_name, full_methods) and returns: repr_str