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
0b87bff9a7
commit
deb48a94a3
Binary file not shown.
@ -79,7 +79,8 @@ 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((200, 512)))
|
||||||
|
|
||||||
def forward(
|
def forward(
|
||||||
self,
|
self,
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user