I have two predications a and b, how can I set constraints or define a loss that minimizes for condition a>b, where a and b are regression outputs of my network.
In other words, I want to teach the network that a should always be greater than b.