Skip to content

Commit 107f970

Browse files
committed
format and additionnal info in jax nn
1 parent d8ea335 commit 107f970

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

deepxde/nn/jax/nn.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,12 @@
11
from flax import linen as nn
2+
23
from .. import regularizers
34

45
class NN(nn.Module):
56
"""Base class for all neural network modules."""
67

78
# All sub-modules should have the following variables:
9+
# regularization: Any = None
810
# params: Any = None
911
# _input_transform: Optional[Callable] = None
1012
# _output_transform: Optional[Callable] = None

0 commit comments

Comments
 (0)