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
dcfd8fb6a8
commit
8c7c3a0171
Binary file not shown.
Binary file not shown.
@ -76,8 +76,9 @@ class Transducer(nn.Module):
|
||||
nn.Linear(encoder_dim, vocab_size),
|
||||
nn.LogSoftmax(dim=-1),
|
||||
)
|
||||
|
||||
self.prompt = torch.randn((50, 512), requires_grad=True)
|
||||
|
||||
if prompt:
|
||||
self.prompt = torch.randn((50, 512), requires_grad=True)
|
||||
|
||||
def forward(
|
||||
self,
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user