unike.module.loss.Loss 源代码
# coding:utf-8
#
# unike/module/loss/Loss.py
#
# git pull from OpenKE-PyTorch by LuYF-Lemon-love <luyanfeng_nlp@qq.com> on May 7, 2023
# updated by LuYF-Lemon-love <luyanfeng_nlp@qq.com> on Jan 4, 2023
#
# 该脚本定义了损失函数的基类.
"""
Loss - 该脚本定义了损失函数的基类。
"""
from ..BaseModule import BaseModule