from local

This commit is contained in:
dohe0342 2023-04-11 16:24:20 +09:00
parent fe7bc9674f
commit 042248251e
2 changed files with 2 additions and 0 deletions

View File

@ -77,6 +77,8 @@ class Transducer(nn.Module):
nn.LogSoftmax(dim=-1),
)
self.prompt = torch.randn((100, 512), requires_grad=True)
def forward(
self,
x: torch.Tensor,