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
a716ead748
commit
013ed400bd
Binary file not shown.
@ -96,8 +96,6 @@ class TransformerEncoderAdapter(TransformerEncoder):
|
||||
x, (z, lr) = layer(
|
||||
x, self_attn_padding_mask=padding_mask, need_weights=False,
|
||||
)
|
||||
print(x.size())
|
||||
print(i)
|
||||
x = self.adapters.forward(x, layer_id=i)
|
||||
|
||||
if i >= min_layer:
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user