code: def _setup_graph(self):
      vars = tf.trainable_variables()
      ops = []
      for v in vars:
          n = v.op.name
          if not n.startswith("discrim/"):
              continue
          logger.info("Clip {}".format(n))
          ops.append(tf.assign(v, tf.clip_by_value(v, -0.01, 0.01)))
      self._op = tf.group(*ops, name="clip")
  
file_path: tensorpack/examples/GAN/WGAN.py
imports: import tensorflow
  from tensorpack import *
  from tensorpack.tfutils.summary import add_moving_summary
  import DCGAN
  from GAN import SeparateGANTrainer
label_desc: Use image node_id 1 for calling the ClipCallback obj's underlying member method code with example usage: obj._setup_graph() without return types