Skip to content

Commit b9ab901

Browse files
njzjzCopilot
andauthored
Update deepmd/pd/loss/loss.py
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com> Signed-off-by: Jinzhe Zeng <njzjz@qq.com>
1 parent 68f9f3c commit b9ab901

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

deepmd/pd/loss/loss.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@
1818

1919

2020
class TaskLoss(paddle.nn.Layer, ABC, make_plugin_registry("loss")):
21-
def __init__(self) -> None:
21+
def __init__(self, **kwargs) -> None:
2222
"""Construct loss."""
2323
super().__init__()
2424

0 commit comments

Comments
 (0)