def __init__(self, hparams, word_embedding_layer):
    super(EncoderLayer, self).__init__(name='dual_encoder')
    self._hparams = hparams
    self._word_embedding_layer = word_embedding_layer
def __init__(self, hparams, word_embedding_layer):
    super(EncoderLayer, self).__init__(name='dual_encoder')
    self._hparams = hparams
    self._word_embedding_layer = word_embedding_layer