Skip to content

Commit f510a87

Browse files
authored
fix formatting
1 parent fd7819c commit f510a87

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

stochman/nnj.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -665,7 +665,7 @@ def _jacobian_wrt_weight_sandwich_full_to_full(self, x: Tensor, val: Tensor, tmp
665665
)
666666

667667
def _jacobian_wrt_weight_sandwich_full_to_diag(self, x: Tensor, val: Tensor, tmp: Tensor) -> Tensor:
668-
### TODO: Implement this in a smarter way
668+
# TODO: Implement this in a smarter way
669669
return torch.diagonal(self._jacobian_wrt_weight_sandwich_full_to_full(x, val, tmp), dim1=1, dim2=2)
670670

671671
def _jacobian_wrt_weight_sandwich_diag_to_full(self, x: Tensor, val: Tensor, tmp_diag: Tensor) -> Tensor:

0 commit comments

Comments
 (0)