Skip to content

Commit

Permalink
[paraformer]fix embed after wenet map class (#2177)
Browse files Browse the repository at this point in the history
  • Loading branch information
Mddct authored Nov 28, 2023
1 parent 0df2759 commit 373109c
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions wenet/utils/class_utils.py
Original file line number Diff line number Diff line change
Expand Up @@ -49,6 +49,7 @@
}

WENET_EMB_CLASSES = {
"embed": PositionalEncoding,
"abs_pos": PositionalEncoding,
"rel_pos": RelPositionalEncoding,
"no_pos": NoPositionalEncoding,
Expand Down

0 comments on commit 373109c

Please sign in to comment.