code: def get_range_for_dtype_str(dtype: str) -> Tuple[int, int]:
      """
      Produce the min,max for a give data type.
  
      Parameters
      ----------
      dtype : str
          a type string (e.g., int8)
  
      Returns
      -------
      type_info.min : int
          the minimum of the range
      type_info.max : int
          the maximum of the range
      """
  
      try:
          type_info = np.iinfo(dtype)
      except ValueError:
          type_info = np.finfo(dtype)
      return type_info.min, type_info.max
  
imports: from inspect import signature
  from enum import Enum
  from typing import Union, Tuple, List
  import numpy
  import tvm
  from tvm import relay
  from tvm._ffi import register_object
  from tvm.runtime import Object
  from .None import _ffi_api
label_desc: Use image node_id 4 for calling a global function with example usage: get_range_for_dtype_str(dtype) and returns: type_info,  type_info