(yhat, y)
| 429 | |
| 430 | # assuming the forward process y = f(x) is polluted by Gaussian noise, use l2 norm |
| 431 | def RMSELoss(yhat, y): |
| 432 | return torch.sqrt(torch.sum((yhat - y) ** 2)) |
| 433 | |
| 434 | # set up source image |
| 435 | src = Image.open("sample.png") |
nothing calls this directly
no outgoing calls
no test coverage detected