code: def makedirs_cached(dirname: epath.PathLike):
      """Creates the given dir with parents and exist is ok.
  
      Note that this operation is cached, so a dir is only created once. Use this
      with care. If during your session you remove the folder and later you want to
      recreate it, then this method will not do that.
  
      Arguments:
        dirname: the dir to create.
      """
      epath.Path(dirname).mkdir(parents=True, exist_ok=True)
  
imports: import collections
  import functools
  import os
  import re
  import time
  from typing import Iterator, List, Optional
  from absl import logging
  from etils import epath
  from tensorflow_datasets.core import constants
  from tensorflow_datasets.core import naming
  from tensorflow_datasets.core.utils import docs
  from tensorflow_datasets.core.utils import py_utils
  from tensorflow_datasets.core.utils import read_config
  from tensorflow_datasets.core.utils import type_utils
  from tensorflow_datasets.core.utils import version
label_desc: Use image node_id 11 for calling a global function with example usage: makedirs_cached(dirname) without return types