Skip to content

Commit

Permalink
add comment
Browse files Browse the repository at this point in the history
  • Loading branch information
Jerry-Jzy committed Dec 17, 2024
1 parent 4d4106c commit e7f2bb1
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions deepxde/data/pde_operator.py
Original file line number Diff line number Diff line change
Expand Up @@ -267,6 +267,7 @@ def forward_call(trunk_input):
return aux[0]((inputs[0], trunk_input))

if self.pde.pde is not None:
# f has the shape (`N1`, `N2`), inputs[1] has the shape (`N2`, `dim2`), outputs has the shape (`N1`, `N2`)
f = self.pde.pde(
inputs[1], (outputs, forward_call), model.net.auxiliary_vars
)
Expand Down

0 comments on commit e7f2bb1

Please sign in to comment.