from local

This commit is contained in:
dohe0342 2023-04-25 12:08:08 +09:00
parent be01888900
commit 28a2523331
3 changed files with 1 additions and 1 deletions

View File

@ -80,7 +80,7 @@ class Transducer(nn.Module):
self.prompt = None
if prompt:
#self.prompt = torch.randn((200, 512), requires_grad=True)
self.prompt = torch.nn.Parameter(torch.randn((100, 512)))
self.prompt = torch.nn.Parameter(torch.rand((100, 512)))
def forward(
self,