We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 933115d commit 4623ffdCopy full SHA for 4623ffd
pina/loss/ntk_weighting.py
@@ -3,9 +3,11 @@
3
import torch
4
from torch.nn import Module
5
from .weighting_interface import WeightingInterface
6
-from ..operator import grad
7
from ..utils import check_consistency
8
+class _NoWeighting(WeightingInterface):
9
+ def aggregate(self, losses):
10
+ return sum(losses.values())
11
12
class NeuralTangetKernelWeighting(WeightingInterface):
13
"""
0 commit comments