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