Skip to content

Commit

Permalink
delate regularizer_value
Browse files Browse the repository at this point in the history
  • Loading branch information
lijialin03 committed Dec 16, 2024
1 parent b9ab3a9 commit 375e19c
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 6 deletions.
3 changes: 0 additions & 3 deletions deepxde/nn/paddle/fnn.py
Original file line number Diff line number Diff line change
Expand Up @@ -29,9 +29,6 @@ def __init__(
initializer = initializers.get(kernel_initializer)
initializer_zero = initializers.get("zeros")
self.regularizer = regularizers.get(regularization)
self.regularizer_value = (
regularization[1:] if regularization is not None else None
)
self.dropout_rate = dropout_rate

self.linears = paddle.nn.LayerList()
Expand Down
3 changes: 0 additions & 3 deletions deepxde/nn/paddle/mfnn.py
Original file line number Diff line number Diff line change
Expand Up @@ -33,9 +33,6 @@ def __init__(
self.trainable_hi = trainable_high_fidelity
self.residue = residue
self.regularizer = regularizers.get(regularization)
self.regularizer_value = (
regularization[1:] if regularization is not None else None
)

# low fidelity
self.linears_lo = self.init_dense(self.layer_size_lo, self.trainable_lo)
Expand Down

0 comments on commit 375e19c

Please sign in to comment.