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
44866fbf71
commit
56b7f92f2e
Binary file not shown.
@ -80,7 +80,7 @@ class Transducer(nn.Module):
|
|||||||
self.prompt = None
|
self.prompt = None
|
||||||
if prompt:
|
if prompt:
|
||||||
#self.prompt = torch.randn((200, 512), requires_grad=True)
|
#self.prompt = torch.randn((200, 512), requires_grad=True)
|
||||||
self.prompt = torch.nn.Parameter(torch.randn((10, 512)))
|
self.prompt = torch.nn.Parameter(torch.randn((30, 512)))
|
||||||
|
|
||||||
def forward(
|
def forward(
|
||||||
self,
|
self,
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user