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
27e90ab9eb
commit
b8a1d07ef4
Binary file not shown.
@ -90,7 +90,7 @@ class Transducer(nn.Module):
|
|||||||
new_emb[i] = torch.normal(float(mean), float(std), size=50).squeeze()
|
new_emb[i] = torch.normal(float(mean), float(std), size=50).squeeze()
|
||||||
new_emb = new_emb.transpose(1,0)
|
new_emb = new_emb.transpose(1,0)
|
||||||
self.prompt = torch.nn.Parameter(new_emb)
|
self.prompt = torch.nn.Parameter(new_emb)
|
||||||
|
print(self.prompt)
|
||||||
|
|
||||||
def forward(
|
def forward(
|
||||||
self,
|
self,
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user