You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The FFN class constructor for the PyTorch backend does not contain the option to set regularization in its initialization despite having the regularizer as a attribute of the nn base class.
I had to set it manually in my code
net = dde.nn.FNN(layer_size, activation, initializer)
net.regularizer = ["l2", 1e-6]
The text was updated successfully, but these errors were encountered:
The FFN class constructor for the PyTorch backend does not contain the option to set regularization in its initialization despite having the regularizer as a attribute of the nn base class.
I had to set it manually in my code
The text was updated successfully, but these errors were encountered: