"vscode:/vscode.git/clone" did not exist on "111fe85d0daf880e154c1b5aa477cba4ebf5e915"
Unverified Commit d6ae55c6 authored by Caroline Chen's avatar Caroline Chen Committed by GitHub
Browse files

Remove gradient variable from RNNTL Python code (#1616)

parent 7f591c62
......@@ -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,
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment