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
FAST-RNNT
Commits
4bff8cc2
Unverified
Commit
4bff8cc2
authored
May 03, 2023
by
Yifan Yang
Committed by
GitHub
May 03, 2023
Browse files
Update rnnt_loss.py
parent
445aca29
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
+2
-2
fast_rnnt/python/fast_rnnt/rnnt_loss.py
fast_rnnt/python/fast_rnnt/rnnt_loss.py
+2
-2
No files found.
fast_rnnt/python/fast_rnnt/rnnt_loss.py
View file @
4bff8cc2
...
...
@@ -773,9 +773,9 @@ def do_rnnt_pruning(
lm
,
dim
=
1
,
index
=
ranges
.
reshape
(
B
,
T
*
s_range
,
1
).
expand
(
(
B
,
T
*
s_range
,
decoder_dim
)
(
B
,
T
*
s_range
,
C
)
),
).
reshape
(
B
,
T
,
s_range
,
decoder_dim
)
).
reshape
(
B
,
T
,
s_range
,
C
)
return
am_pruning
,
lm_pruning
...
...
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