code: def __init__(self, input_data, Y, lr_ph):
      self.input_data = input_data
      self.lr_ph = lr_ph
      self.do_ph = tf.placeholder(name="dropout_ph", dtype=tf.float32)
      self.Y = Y
      self.hid_dim = 2048
      # Build Graph
      self._build_network_graph()
      self.disc_cost = None
      self.disc_opt = None
      self.map_opt = None
      self.W = None
  
imports: from __future__ import print_function, division
  import io
  import os
  import time
  import numpy
  import scipy
  import tensorflow
label_desc: Use image node_id 1 to create a new Discriminator object  with example: obj = Discriminator(input_data, Y, lr_ph)