Skip to content

Commit

Permalink
fix_comments_CC
Browse files Browse the repository at this point in the history
  • Loading branch information
elephaint committed Mar 22, 2024
1 parent a5e6a9b commit e5d7b9e
Show file tree
Hide file tree
Showing 3 changed files with 290 additions and 11 deletions.
299 changes: 290 additions & 9 deletions nbs/examples/Multivariate_with_TSMixer.ipynb

Large diffs are not rendered by default.

1 change: 0 additions & 1 deletion nbs/models.tsmixerx.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -466,7 +466,6 @@
" self.loss.outputsize_multiplier,\n",
" -1) # [B, h, N * n_outputs] -> [B, h, n_outputs, N]\n",
" x = self.norm.reverse(x)\n",
" # x = x.reshape(batch_size, self.h, -1) # [B, h, n_outputs, N] -> [B, h, n_outputs * N]\n",
" x = x.reshape(batch_size, self.h, -1) # [B, h, n_outputs, N] -> [B, h, n_outputs * N]\n",
"\n",
" # Map to loss domain\n",
Expand Down
1 change: 0 additions & 1 deletion neuralforecast/models/tsmixerx.py
Original file line number Diff line number Diff line change
Expand Up @@ -415,7 +415,6 @@ def forward(self, windows_batch):
batch_size, self.h, self.loss.outputsize_multiplier, -1
) # [B, h, N * n_outputs] -> [B, h, n_outputs, N]
x = self.norm.reverse(x)
# x = x.reshape(batch_size, self.h, -1) # [B, h, n_outputs, N] -> [B, h, n_outputs * N]
x = x.reshape(
batch_size, self.h, -1
) # [B, h, n_outputs, N] -> [B, h, n_outputs * N]
Expand Down

0 comments on commit e5d7b9e

Please sign in to comment.