Skip to content

Commit

Permalink
amend
Browse files Browse the repository at this point in the history
  • Loading branch information
vmoens committed Feb 6, 2024
1 parent 326afdc commit 1337c41
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion test/test_functorch.py
Original file line number Diff line number Diff line change
Expand Up @@ -362,7 +362,7 @@ def zero_grad(p):
for p in params.flatten_keys().values()
)
assert params.requires_grad
params.apply_(zero_grad)
params.apply_(zero_grad, filter_empty=True)
assert params.requires_grad

def test_repopulate(self):
Expand Down

0 comments on commit 1337c41

Please sign in to comment.