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
fdba1cb6ca
commit
815914d540
Binary file not shown.
@ -146,7 +146,7 @@ class ResidualAdapterModule(nn.Module):
|
|||||||
|
|
||||||
super().__init__()
|
super().__init__()
|
||||||
|
|
||||||
self.type = 'conv'
|
self.type = 'linear'
|
||||||
|
|
||||||
def build_adapter(embedding_dim, proj_dim, type_=self.type):
|
def build_adapter(embedding_dim, proj_dim, type_=self.type):
|
||||||
if type_ == 'conv':
|
if type_ == 'conv':
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user