Skip to content

Commit

Permalink
Improve base_model docs
Browse files Browse the repository at this point in the history
  • Loading branch information
Jan Beitner committed Jun 4, 2021
1 parent c7b3933 commit d6175c6
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions pytorch_forecasting/models/base_model.py
Original file line number Diff line number Diff line change
Expand Up @@ -159,8 +159,8 @@ def __init__(self, my_first_parameter: int=2, loss=SMAPE()):
super().__init__(loss=loss)
def forward(self, x):
encoding_target = x["encoder_target"]
prediction = self.transform_output(prediction=..., target_scale=x["target_scale"])
normalized_prediction = self.module(x)
prediction = self.transform_output(prediction=normalized_prediction, target_scale=x["target_scale"])
return self.to_network_output(prediction=prediction)
"""
Expand Down

0 comments on commit d6175c6

Please sign in to comment.