code: def __init__(
      self,
      output_dimension,
      dropout_rate,
      emb_dim,
      max_len,
      filter_sizes,
      num_filters,
      hidden_dim,
      seed,
      init_W,
      learning_rate=0.001,
  ):
      self.drop_rate = dropout_rate
      self.max_len = max_len
      self.seed = seed
      self.learning_rate = learning_rate
      self.init_W = tf.constant(init_W)
      self.output_dimension = output_dimension
      self.emb_dim = emb_dim
      self.filter_lengths = filter_sizes
      self.nb_filters = num_filters
      self.vanila_dimension = hidden_dim
  
      self._build_graph()
  
imports: import tensorflow.compat.v1
label_desc: Use image node_id 1 to create a new CNN_module object  with example: obj = CNN_module(output_dimension, dropout_rate, emb_dim, max_len, filter_sizes, num_filters, hidden_dim, seed, init_W, learning_rate)