Open nicolaspi opened 1 year ago
The class class _PairwiseLoss(_RankingLoss): overrides def call(...) from its parent without applying the temperature scaling (unlike its parent):
class _PairwiseLoss(_RankingLoss):
def call(...)
https://github.com/tensorflow/ranking/blob/c46cede726fd453e0aaa6097871d23dc8e465bdc/tensorflow_ranking/python/keras/losses.py#L322
The class
class _PairwiseLoss(_RankingLoss):
overridesdef call(...)
from its parent without applying the temperature scaling (unlike its parent):https://github.com/tensorflow/ranking/blob/c46cede726fd453e0aaa6097871d23dc8e465bdc/tensorflow_ranking/python/keras/losses.py#L322