mirror of
https://github.com/k2-fsa/icefall.git
synced 2025-12-11 06:55:27 +00:00
from local
This commit is contained in:
parent
841d62f98c
commit
0e9358f601
Binary file not shown.
@ -160,7 +160,7 @@ class ResidualAdapterModule(nn.Module):
|
||||
)
|
||||
|
||||
self.adapter_layers = nn.ModuleList(
|
||||
[build_adapter(embedding_dim, proj_dim, type_='conv') for _ in range(layer_num)]
|
||||
[build_adapter(embedding_dim, proj_dim, type_=self.type) for _ in range(layer_num)]
|
||||
)
|
||||
|
||||
def forward(self, x, layer_id=-1):
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user