The aggregation layer takes in the domain specific and shared features as inputs ( Figure  2), aggregates them and concatenates these aggregated vectors to form a combined representation.
others have proposed a domain discriminator that maximizes the domain classification loss between source and target domains (Cohen et al., 2018;Shah et al., 2018).