On the one hand, we train the domain classifier to minimize the domain classification loss.
we update the parameters of the network underlying the domain classifier to maximize the domain classification loss, which works adversarially towards the domain classifier.