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 18, 2024
1 parent 420313b commit 292d05e
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 @@ -275,6 +275,7 @@ def forward_call(trunk_input):
if not isinstance(f, (list, tuple)):
f = [f]
error_f = [fi[:, bcs_start[-1] :] for fi in f]
# Each error has the shape (N1, ~N2)
losses = [loss_fn(bkd.zeros_like(error), error) for error in error_f]

# BC loss
Expand Down

0 comments on commit 292d05e

Please sign in to comment.