Update modeling_super_linear.py
Browse files- modeling_super_linear.py +1 -1
modeling_super_linear.py
CHANGED
|
@@ -423,7 +423,7 @@ class Model(nn.Module):
|
|
| 423 |
if self.train_pred_len < pred_len:
|
| 424 |
outputs = [out]
|
| 425 |
ar_x = torch.cat([x, out], dim=1)[:, -self.train_seq_len:]
|
| 426 |
-
for i in range(0,
|
| 427 |
ar_out, _ = self.moe(ar_x)
|
| 428 |
outputs.append(ar_out)
|
| 429 |
ar_x = torch.cat([ar_x, ar_out], dim=1)[:, -self.train_seq_len:]
|
|
|
|
| 423 |
if self.train_pred_len < pred_len:
|
| 424 |
outputs = [out]
|
| 425 |
ar_x = torch.cat([x, out], dim=1)[:, -self.train_seq_len:]
|
| 426 |
+
for i in range(0, pred_len, self.train_pred_len):
|
| 427 |
ar_out, _ = self.moe(ar_x)
|
| 428 |
outputs.append(ar_out)
|
| 429 |
ar_x = torch.cat([ar_x, ar_out], dim=1)[:, -self.train_seq_len:]
|