Skip to content

Commit

Permalink
cla
Browse files Browse the repository at this point in the history
  • Loading branch information
enkilee committed Jun 19, 2023
1 parent 0ffe83c commit 99d8da0
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions test/equation/test_poisson.py
Original file line number Diff line number Diff line change
Expand Up @@ -48,6 +48,7 @@ def test_poisson(dim):
# manually generate output
p = model(input_data)

# use self-defined jacobian and hessian
def jacobian(y: paddle.Tensor, x: paddle.Tensor) -> paddle.Tensor:
return paddle.grad(y, x, create_graph=True)[0]

Expand Down

0 comments on commit 99d8da0

Please sign in to comment.