I have a model in which I have 3 parallel encoders and one decoder (see the image attached). I would like to implement the model in pure TensorFlow/Keras (there is an implementation in Lingvo, which is obscure given my limited knowledge).
If colors of embeddings are the same, it means that embeddings share parameters between them. I would like to ask how to achieve this in Tensorflow/keras?
Is it that simple? I mean, if I have to create the second embedding, it would just be a matter of defining a new embedding, like embedding2 = Embedding(10, 6, input_length=1, name=‘embedding2’) ?
Sorry then for stupid question, I guess and thank you for pointing this out!