docstr: Deletes a directory if exists.
docstr_tok: ["Deletes","a","directory","if","exists","."]
code: def _delete_dir(self, path) -> None:
      """Deletes a directory if exists."""
      if tf.io.gfile.isdir(path):
          tf.io.gfile.rmtree(path)
  
imports: import contextlib
  import io
  import os
  import re
  import keras_tuner
  import tensorflow
  from tensorflow import keras
  from tensorflow_cloud.tuner import vizier_client
  from tensorflow_cloud.tuner.tuner import DistributingCloudTuner
label_desc: Use image node_id 4 for calling the _DistributingCloudTunerIntegrationTestBase obj's underlying member method code with example usage: obj._delete_dir(path) without return types