Then, the aggregated reaction encoding from the encoder is concatenated with the route properties, including cost, price, and complexity, along with the molecule fingerprints, before being passed to the scorer network to compute the TED score. The fingerprint used as input in both networks is to produce target-specific reaction encoding and target-specific route scoring, and it also allows two models can be used separately for the practical demands or constraints. The full model can be written as: