Skip to content

Commit

Permalink
Add dummies for module Hessian properties
Browse files Browse the repository at this point in the history
  • Loading branch information
F. Dangel committed May 19, 2020
1 parent 4529926 commit 3b731e7
Showing 1 changed file with 21 additions and 0 deletions.
21 changes: 21 additions & 0 deletions test/core/derivatives/derivatives_test.py
Original file line number Diff line number Diff line change
Expand Up @@ -250,3 +250,24 @@ def test_ea_jac_t_mat_jac_prod(problem):
autograd_res = AutogradDerivatives(problem).ea_jac_t_mat_jac_prod(mat)

check_sizes_and_values(autograd_res, backpack_res)


@pytest.mark.skip
@pytest.mark.parametrize("problem", NO_LOSS_PROBLEMS, ids=NO_LOSS_IDS)
def test_hessian_is_diagonal(problem):
# TODO
pass


@pytest.mark.skip
@pytest.mark.parametrize("problem", NO_LOSS_PROBLEMS, ids=NO_LOSS_IDS)
def test_hessian_diagonal(problem):
# TODO
pass


@pytest.mark.skip
@pytest.mark.parametrize("problem", NO_LOSS_PROBLEMS, ids=NO_LOSS_IDS)
def test_hessian_is_psd(problem):
# TODO
pass

0 comments on commit 3b731e7

Please sign in to comment.