Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
OpenDAS
Torchaudio
Commits
d6ae55c6
"vscode:/vscode.git/clone" did not exist on "111fe85d0daf880e154c1b5aa477cba4ebf5e915"
Unverified
Commit
d6ae55c6
authored
Jul 08, 2021
by
Caroline Chen
Committed by
GitHub
Jul 08, 2021
Browse files
Remove gradient variable from RNNTL Python code (#1616)
parent
7f591c62
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
1 deletion
+1
-1
torchaudio/prototype/rnnt_loss.py
torchaudio/prototype/rnnt_loss.py
+1
-1
No files found.
torchaudio/prototype/rnnt_loss.py
View file @
d6ae55c6
...
...
@@ -53,7 +53,7 @@ def rnnt_loss(
if
blank
<
0
:
# reinterpret blank index if blank < 0.
blank
=
logits
.
shape
[
-
1
]
+
blank
costs
,
gradients
=
torch
.
ops
.
torchaudio
.
rnnt_loss
(
costs
,
_
=
torch
.
ops
.
torchaudio
.
rnnt_loss
(
logits
=
logits
,
targets
=
targets
,
logit_lengths
=
logit_lengths
,
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment