code: def _get_type_size(dltype):
      if dltype in ("uint64", "int64"):
          return 8
      if dltype in ("uint32", "int32", "float32"):
          return 4
      if dltype in ("uint16", "int16"):
          return 2
      if dltype in ("uint8", "int8"):
          return 1
      raise ValueError(f"Data type {dltype} is not supported")
  
imports: import contextlib
  import json
  import os
  import re
  import shutil
  import tarfile
  import textwrap
  from datetime import datetime
  import numpy
  import tvm
  from tvm.contrib import utils
label_desc: Use image node_id 6 for calling a global function with example usage: _get_type_size(dltype) and returns: int, int, int, int