Last active
December 24, 2021 11:12
-
-
Save madagra/65c553fc241a88b70f577dc9ac59405d to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
final_loss = \ | |
# average over all the colocation points | |
de_loss_vec.pow(2).mean() + \ | |
# simply square the boundary contribution which is a single value | |
boundary_loss ** 2 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment