-
Notifications
You must be signed in to change notification settings - Fork 2.5k
New issue
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
ssl fixes #4268
ssl fixes #4268
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Neural type needs to be updated, rest all looks good.
return self.decoder_layers(encoder_output).transpose(-2, -1) | ||
out = self.decoder_layers(encoder_output).transpose(-2, -1) | ||
if self.apply_softmax: | ||
out = torch.nn.functional.log_softmax(out, dim=-1) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
You need to update the output_types neural type of this module - when the flag is set to false, it returns logits, when true, log probs. It is important to update the semantics of this module and any downstream modules that accept the output of this class.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks good
Signed-off-by: sam1373 samuelkriman@gmail.com
What does this PR do ?
Collection: ASR
PR Type: