Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- embedding_layer = pretrained_embedding_layer(word_to_vec_map, word_to_index)
- embedding_layer.get_weights()[0][word_to_index['cat']]
- # array([ 0.45281 , -0.50108 , ... 0.71278 , 0.23782 ], dtype=float32)
Add Comment
Please, Sign In to add comment