code: def kind2str(kind):
      """Convert a `QAnnotateKind` to string"""
      str_map = {
          QAnnotateKind.INPUT: "input",
          QAnnotateKind.WEIGHT: "weight",
          QAnnotateKind.ACTIVATION: "activation",
          QAnnotateKind.IDENTITY: "identity",
      }
      assert kind in str_map
      return str_map[kind]
  
imports: import tvm.ir
  import tvm
  from tvm.runtime import Object
  from .None import _quantize
  from ._calibrate import calibrate
  from ._partition_conversions import partition_conversions
  from ..None import expr
  from ..None import transform
label_desc: Use image node_id 1 for calling a global function with example usage: kind2str(kind) and returns: str_map