We follow this setting and use the feature vectors to calculate cosine similarity.
the encoder output are tree-like semantic features extracted by CNN encoder while the encoder input embedding provides point information about a specific input element before encoding (Gehring et al., 2017).