Skip to content

Commit 0518487

Browse files
authored
update doc
1 parent b6f4452 commit 0518487

File tree

1 file changed

+8
-4
lines changed

1 file changed

+8
-4
lines changed

pina/loss/ntk_weighting.py

Lines changed: 8 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -13,17 +13,21 @@ class NeuralTangentKernelWeighting(WeightingInterface):
1313
1414
.. seealso::
1515
16-
**Original reference**: Jacot, Gabriel, Hongler, *ANeural Tangent
17-
Kernel: Convergence and Generalization in Neural Networks*.
18-
arXiv preprint arXiv:1806.07572 (2018).
19-
DOI: `arXiv:1806.07572 <https://arxiv.org/abs/1806.07572>`_.
16+
**Original reference**: Wang, Sifan, Xinling Yu, and
17+
Paris Perdikaris. *When and why PINNs fail to train:
18+
A neural tangent kernel perspective*. Journal of
19+
Computational Physics 449 (2022): 110768.
20+
DOI: `10.1016/j.jcp.2021.110768 <https://doi.org/10.1016/j.jcp.2021.110768>`_.
21+
22+
2023
2124
"""
2225

2326
def __init__(self, model, alpha=0.5):
2427
"""
2528
Initialization of the :class:`NeuralTangentKernelWeighting` class.
2629
30+
:param torch.nn.Module model: The neural network model.
2731
:param float alpha: The alpha parameter.
2832
"""
2933

0 commit comments

Comments
 (0)