from local
This commit is contained in:
parent
dcfd8fb6a8
commit
8c7c3a0171
Binary file not shown.
Binary file not shown.
@ -77,7 +77,8 @@ class Transducer(nn.Module):
|
|||||||
nn.LogSoftmax(dim=-1),
|
nn.LogSoftmax(dim=-1),
|
||||||
)
|
)
|
||||||
|
|
||||||
self.prompt = torch.randn((50, 512), requires_grad=True)
|
if prompt:
|
||||||
|
self.prompt = torch.randn((50, 512), requires_grad=True)
|
||||||
|
|
||||||
def forward(
|
def forward(
|
||||||
self,
|
self,
|
||||||
|
|||||||
Reference in New Issue
Block a user