修复参数问题
This commit is contained in:
parent
42066ae7a9
commit
42f28b1aa9
|
@ -128,7 +128,7 @@ class LandlordLstmModelLegacy(nn.Module):
|
|||
return {
|
||||
'args': (
|
||||
torch.randn(1, 5, 432, requires_grad=True, device=device),
|
||||
torch.randn(1, 887, requires_grad=True, device=device),
|
||||
torch.randn(1, 860, requires_grad=True, device=device),
|
||||
),
|
||||
'input_names': ['z_batch','x_batch'],
|
||||
'output_names': ['values'],
|
||||
|
@ -177,7 +177,7 @@ class FarmerLstmModelLegacy(nn.Module):
|
|||
return {
|
||||
'args': (
|
||||
torch.randn(1, 5, 432, requires_grad=True, device=device),
|
||||
torch.randn(1, 1219, requires_grad=True, device=device),
|
||||
torch.randn(1, 1192, requires_grad=True, device=device),
|
||||
),
|
||||
'input_names': ['z_batch','x_batch'],
|
||||
'output_names': ['values'],
|
||||
|
|
Loading…
Reference in New Issue