code: def build(self, input_dim):
      # setup model layers
      model = tf.keras.models.Sequential()
      model.add(
          tf.keras.layers.Dense(
              100, activation="relu", input_dim=input_dim
          )
      )
      model.add(tf.keras.layers.Dropout(0.5))
      model.add(tf.keras.layers.Dense(2, activation="softmax"))
      model.compile(loss=self.loss, optimizer=self.optimizer)
      self.model = model
  
file_path: nlp-architect/nlp_architect/models/most_common_word_sense.py
imports: import tensorflow
label_desc: Use image node_id 2 for calling the MostCommonWordSense obj's underlying member method code with example usage: obj.build(input_dim) without return types