Skip to content

Commit

Permalink
se_atten_grad
Browse files Browse the repository at this point in the history
  • Loading branch information
njzjz committed Oct 9, 2023
1 parent 7667a4b commit 39bc5c7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion deepmd/op/_tabulate_grad.py
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,7 @@ def _tabulate_fusion_se_atten_grad_cc(op, dy):
op.outputs[0],
is_sorted=op.get_attr("is_sorted"),
)
return [None, None, dy_dx, dy_df, None]
return [None, None, dy_dx, dy_df, dy_dtwo]


@ops.RegisterGradient("TabulateFusionSeAttenGrad")
Expand Down

0 comments on commit 39bc5c7

Please sign in to comment.