I am trying to build a Siamese network in tensorflow 2.0 for sentence similarity. It has following structure: