code: def clear_all_placeholder_variables(printable=True):
      """Clears all the placeholder variables of keep prob,
      including keeping probabilities of all dropout, denoising, dropconnect etc.
  
      Parameters
      ----------
      printable : boolean
          If True, print all deleted variables.
  
      """
      tl.logging.info("clear all .....................................")
      gl = globals().copy()
      for var in gl:
          if var[0] == "_":
              continue
          if "func" in str(globals()[var]):
              continue
          if "module" in str(globals()[var]):
              continue
          if "class" in str(globals()[var]):
              continue
  
          if printable:
              tl.logging.info(
                  " clear_all ------- %s" % str(globals()[var])
              )
  
          del globals()[var]
  
imports: import os
  import random
  import subprocess
  import sys
  import time
  from collections import Counter
  from sys import exit
  from sys import platform
  import numpy
  import tensorflow
  from sklearn.metrics import accuracy_score, confusion_matrix, f1_score
  import tensorlayer
label_desc: Use image node_id 12 for calling a global function with example usage: clear_all_placeholder_variables(printable) without return types