Skip to content

Commit

Permalink
remove_unused_layer_nbeatsx
Browse files Browse the repository at this point in the history
  • Loading branch information
elephaint committed Sep 30, 2024
1 parent 69255e8 commit 461e260
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 12 deletions.
6 changes: 0 additions & 6 deletions nbs/models.nbeatsx.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -524,12 +524,6 @@
" )\n",
" self.blocks = torch.nn.ModuleList(blocks)\n",
"\n",
" # Adapter with Loss dependent dimensions\n",
" if self.loss.outputsize_multiplier > 1:\n",
" self.out = nn.Linear(\n",
" in_features=h, out_features=h * self.loss.outputsize_multiplier\n",
" )\n",
"\n",
" def create_stack(\n",
" self,\n",
" h,\n",
Expand Down
6 changes: 0 additions & 6 deletions neuralforecast/models/nbeatsx.py
Original file line number Diff line number Diff line change
Expand Up @@ -427,12 +427,6 @@ def __init__(
)
self.blocks = torch.nn.ModuleList(blocks)

# Adapter with Loss dependent dimensions
if self.loss.outputsize_multiplier > 1:
self.out = nn.Linear(
in_features=h, out_features=h * self.loss.outputsize_multiplier
)

def create_stack(
self,
h,
Expand Down

0 comments on commit 461e260

Please sign in to comment.