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
f7e3476741
commit
9b46b760b7
Binary file not shown.
@ -464,6 +464,8 @@ class Data2VecAudioModel(BaseFairseqModel):
|
||||
features = self.feature_extractor(features)
|
||||
|
||||
features = features.transpose(1, 2)
|
||||
if prompt is not None:
|
||||
features = torch.cat([features, prompt])
|
||||
|
||||
features = self.layer_norm(features)
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user