Keras Ranking Metrics, losses and tfr.