def __init__(self, name, vocab_size, embedding_dim, embedding_file=None, hidden_dim=None, trainable=True):
    super(EmbeddingLayer, self).__init__(name=name)
    self._vocab_size = vocab_size
    self._hidden_dim = hidden_dim
    self._embedding_dim = embedding_dim
    self._embedding_file = embedding_file
    self._trainable = trainable
def __init__(self, name, vocab_size, embedding_dim, embedding_file=None, hidden_dim=None, trainable=True):
    super(EmbeddingLayer, self).__init__(name=name)
    self._vocab_size = vocab_size
    self._hidden_dim = hidden_dim
    self._embedding_dim = embedding_dim
    self._embedding_file = embedding_file
    self._trainable = trainable