Skip to content

Commit

Permalink
comment
Browse files Browse the repository at this point in the history
  • Loading branch information
kleinhenz committed Aug 4, 2024
1 parent a272f22 commit 471ec0b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/beignet/func/_implicit_diff_root_scalar.py
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ def backward(ctx, *grad_outputs):
-g * b / A for g, b in zip(grad_outputs, B, strict=True)
)
elif A.ndim == 2:
# NOTE even in this case we should always have A diagonal because f is scalar
# NOTE even in this case A is diagonal because f is scalar
return tuple(
torch.linalg.solve(A, -g * b)
for g, b in zip(grad_outputs, B, strict=True)
Expand Down

0 comments on commit 471ec0b

Please sign in to comment.