In tensorflow,does embedding matrix remain unchanged?
Embedding matrix is similar to any other variable. If you set the trainable flag to True it will train it (see tf.Variable)
In tensorflow,we may see these codes.
embeddings=tf.Variable(tf.random_uniform([vocabulary_size,embedding_size],-1.0,1.0))
embed=tf.nn.embedding_lookup(embeddings,train_inputs)
When tensorflow is training,does embedding matrix remain unchanged?
In a blog,it is said that embedding matrix can update.I wonder how does it work.Thanks a lot !