def _clean_up_temporary_files(dataset_dir):
 for filename in [_TRAIN_DATA_FILENAME, _TRAIN_LABELS_FILENAME, _TEST_DATA_FILENAME, _TEST_LABELS_FILENAME]:
  filepath = os.path.join(dataset_dir, filename)
  tf.gfile.Remove(filepath)

def _clean_up_temporary_files ( dataset_dir ) : for filename in [ _TRAIN_DATA_FILENAME , _TRAIN_LABELS_FILENAME , _TEST_DATA_FILENAME , _TEST_LABELS_FILENAME ] : filepath = os . path . join ( dataset_dir , filename ) tf . gfile . Remove ( filepath )
removes temporary files used to create the dataset .