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
pt:
def forward( self, xx: torch.Tensor, ) -> torch.Tensor: """One MLP layer used by DP model. Parameters ---------- xx : torch.Tensor The input. Returns ------- yy: torch.Tensor The output. """ yy = ( > torch.matmul(xx, self.matrix) + self.bias if self.bias is not None else torch.matmul(xx, self.matrix) ) E RuntimeError: expected mat1 and mat2 to have the same dtype, but got: double != float
The text was updated successfully, but these errors were encountered:
#3314
Sorry, something went wrong.
anyangml
Successfully merging a pull request may close this issue.
pt:
The text was updated successfully, but these errors were encountered: