TransferNet icon indicating copy to clipboard operation
TransferNet copied to clipboard

有关代码中loss的计算

Open 2213500360 opened this issue 3 years ago • 0 comments

感谢分享代码!在您的论文中loss使用的是欧几里得距离,但我看不懂您代码中计算loss的部分,特别是参数entity_range和weight是什么,以及公式 torch.sum(entity_range * weight * torch.pow(last_e - answers, 2)) / torch.sum(entity_range * weight)的具体含义,请问您可以讲讲吗?感谢!

2213500360 avatar Mar 25 '22 03:03 2213500360