code: def _CreateCleanDirectory(path):
      if tf.io.gfile.isdir(path):
          tf.io.gfile.rmtree(path)
      tf.io.gfile.mkdir(path)
  
imports: import os
  import os.path
  import shutil
  import tensorflow
  from tensorboard.backend.event_processing import event_accumulator
  from tensorboard.backend.event_processing import event_multiplexer
label_desc: Use image node_id 2 for calling a global function with example usage: _CreateCleanDirectory(path) without return types