Last active
December 24, 2021 10:36
-
-
Save madagra/2fc4faf381f352dcdc165a08e8d579db 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
T_0 = 0 | |
F_0 = 1 | |
boundary = torch.Tensor([T_0]) | |
boundary.requires_grad = True | |
boundary_loss = f(nn, boundary) - F0 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment