Skip to content

Instantly share code, notes, and snippets.

@hadifar
Created November 23, 2017 20:05
Show Gist options
  • Select an option

  • Save hadifar/840ffa5dd16ce208e9b0762ea677ea82 to your computer and use it in GitHub Desktop.

Select an option

Save hadifar/840ffa5dd16ce208e9b0762ea677ea82 to your computer and use it in GitHub Desktop.
Embedding example
Embedding(input_dim, output_dim, weights=[embedding_matrix], input_length=max_sequence_length, trainable=False)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment