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
{{ message }}
This repository has been archived by the owner on Nov 1, 2021. It is now read-only.
I'm wrapping my computation into a AutoModule and I do not need bias.
And I have to do something like loss = loss + 0 * torch.sum(bias) in my forward computation. Otherwise there will be an error when calling module:backward, since it assumes bias is available.
The text was updated successfully, but these errors were encountered:
Hi all,
I'm wrapping my computation into a AutoModule and I do not need bias.
And I have to do something like
loss = loss + 0 * torch.sum(bias)
in my forward computation. Otherwise there will be an error when callingmodule:backward
, since it assumes bias is available.The text was updated successfully, but these errors were encountered: