Skip to content

Commit

Permalink
fix ut
Browse files Browse the repository at this point in the history
  • Loading branch information
Mddct committed Mar 8, 2024
1 parent 872e243 commit ccde44c
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions wenet/utils/class_utils.py
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,8 @@
# Copyright [2023-11-28] <[email protected], Xingchen Song>
import torch
from wenet.paraformer.embedding import ParaformerPositinoalEncoding
from wenet.transformer.positionwise_feed_forward import (GatedVariantsMLP,
MoEFFNLayer)
from wenet.transformer.positionwise_feed_forward import (
GatedVariantsMLP, MoEFFNLayer, PositionwiseFeedForward)

from wenet.transformer.swish import Swish
from wenet.transformer.subsampling import (
Expand Down Expand Up @@ -73,7 +73,7 @@
}

WENET_MLP_CLASSES = {
'position_wise_feed_forward': PositionalEncoding,
'position_wise_feed_forward': PositionwiseFeedForward,
'moe': MoEFFNLayer,
'gated': GatedVariantsMLP
}

0 comments on commit ccde44c

Please sign in to comment.