RecFormer
RecFormer copied to clipboard
Question about calculating rank (line 95 in utils.py)
The rank is calculated as "rank = (predicts < scores).sum(-1).float()" in line 95 of utils.py. Should "<" be replaced with "<=" to avoid the rank being 0 when all scores are the same value?