from local

This commit is contained in:
dohe0342 2023-04-18 10:25:51 +09:00
parent 1e13910863
commit f2e32fa887
3 changed files with 1 additions and 1 deletions

View File

@ -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((20, 512))) self.prompt = torch.nn.Parameter(torch.randn((10, 512)))
def forward( def forward(
self, self,