Skip to content

Commit

Permalink
removes useless loc
Browse files Browse the repository at this point in the history
  • Loading branch information
tfjgeorge committed Nov 20, 2023
1 parent cb4343f commit 0b6e9ff
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion nngeometry/generator/jacobian/grads.py
Original file line number Diff line number Diff line change
Expand Up @@ -155,7 +155,6 @@ def kfac_xx(cls, buffer, mod, layer, x, gy):

@classmethod
def kfac_gg(cls, buffer, mod, layer, x, gy):
spatial_locations = gy.size(2) * gy.size(3)
os = gy.size(1)
# DS_tilda in KFC
DS_tilda = gy.permute(0, 2, 3, 1).contiguous().view(-1, os)
Expand Down

0 comments on commit 0b6e9ff

Please sign in to comment.