code: def register_tag(
      name: str, config: Dict[str, Any], override: bool = False
  ) -> Optional[Target]:
      """Add a user-defined tag into the target tag registry.
  
      Parameters
      ----------
      name: str
          Name of the target, e.g. "nvidia/gtx1080ti"
      config : Dict[str, Any]
          The config dict used to create the target
      override: bool
          A boolean flag indicating if overriding existing tags are allowed.
          If False and the tag has been registered already, an exception will be thrown.
  
      Returns
      -------
      target : Optional[Target]
          The target corresponding to the tag
          None if TVM is built in runtime-only mode.
  
      Examples
      --------
      .. code-block:: python
  
          register_tag("nvidia/gtx1080ti", config={
              "kind": "cuda",
              "arch": "sm_61",
          })
      """
      if hasattr(_ffi_api, "TargetTagAddTag"):
          return _ffi_api.TargetTagAddTag(name, config, override)
      return None
  
imports: from typing import Any, Dict, Optional
  from .None import _ffi_api
  from .target import Target
label_desc: Use image node_id 2 for calling a global function with example usage: register_tag(name, config, override) and returns: None, _ffi_api