We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
module$parameters
I think the following should work:
n = torch::nn_linear(1, 1) n$parameters$bias$requires_grad = FALSE #> Error in `runtime_error()`: #> ! It's not possible to modify the parameters list.
Created on 2024-12-30 with reprex v2.1.1</sup
The text was updated successfully, but these errors were encountered:
No branches or pull requests
I think the following should work:
Created on 2024-12-30 with reprex v2.1.1</sup
The text was updated successfully, but these errors were encountered: