code: def init_cache():
      global _cache_path
      global _data_mem_cache
      global _data_file_cache
      if not _cache_path:
          _cache_path = os.path.join(
              pathlib.Path.home(), ".cache", "monailabel", "cacheT"
          )
          _data_mem_cache = ExpiringDict(ttl=600)
          _data_file_cache = Sessions(
              store_path=_cache_path, expiry=600
          )
  
      _data_file_cache.remove_expired()
  
imports: import copy
  import logging
  import os
  import pathlib
  from typing import Hashable, Sequence, Tuple, Union
  import torch
  from expiring_dict import ExpiringDict
  from monai.config import KeysCollection
  from monai.data import MetaTensor
  from monai.transforms import Transform
  from monai.utils import ensure_tuple
  from monailabel.utils.others.generic import md5_digest
  from monailabel.utils.sessions import Sessions
label_desc: Use image node_id 1 for calling a global function with example usage: init_cache() without return types