Skip to content

Commit

Permalink
[DEL] Remove redundant print statement and type
Browse files Browse the repository at this point in the history
  • Loading branch information
f-dangel committed Jun 28, 2021
1 parent 138fd6c commit bcc36fd
Showing 1 changed file with 1 addition and 4 deletions.
5 changes: 1 addition & 4 deletions test/core/derivatives/derivatives_test.py
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,7 @@ def test_jac_mat_prod(problem: DerivativesTestProblem, V: int = 3) -> None:
Args:
problem: Test case.
V (int): Number of vectorized Jacobian-vector products. Default: ``3``.
V: Number of vectorized Jacobian-vector products. Default: ``3``.
"""
problem.set_up()
mat = torch.rand(V, *problem.input_shape).to(problem.device)
Expand Down Expand Up @@ -334,9 +334,6 @@ def test_sqrt_hessian_squared_equals_hessian(problem):
backpack_res = BackpackDerivatives(problem).input_hessian_via_sqrt_hessian()
autograd_res = AutogradDerivatives(problem).input_hessian()

print(backpack_res.device)
print(autograd_res.device)

check_sizes_and_values(autograd_res, backpack_res)
problem.tear_down()

Expand Down

0 comments on commit bcc36fd

Please sign in to comment.