diff --git a/deepxde/nn/paddle/fnn.py b/deepxde/nn/paddle/fnn.py index 403a47f50..b28837b1d 100644 --- a/deepxde/nn/paddle/fnn.py +++ b/deepxde/nn/paddle/fnn.py @@ -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() diff --git a/deepxde/nn/paddle/mfnn.py b/deepxde/nn/paddle/mfnn.py index ef0ec9cf5..8aaf0eae7 100644 --- a/deepxde/nn/paddle/mfnn.py +++ b/deepxde/nn/paddle/mfnn.py @@ -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)