Skip to content

Commit

Permalink
remove property
Browse files Browse the repository at this point in the history
  • Loading branch information
dfulu committed Feb 29, 2024
1 parent 6631bac commit 9eab67b
Showing 1 changed file with 0 additions and 8 deletions.
8 changes: 0 additions & 8 deletions pvnet_summation/models/base_model.py
Original file line number Diff line number Diff line change
Expand Up @@ -108,14 +108,6 @@ def sum_of_gsps(self, x):

return (y_hat * x["effective_capacity"]).sum(dim=1)

@property
def _pvnet_output_shape(self):
"""Return the expected shape of the PVNet outputs"""
if self.pvnet_model.use_quantile_regression:
return (317, self.pvnet_model.forecast_len, len(self.pvnet_model.output_quantiles))
else:
return (317, self.pvnet_model.forecast_len)

def _training_accumulate_log(self, batch_idx, losses, y_hat, y, y_sum, times):
"""Internal function to accumulate training batches and log results.
Expand Down

0 comments on commit 9eab67b

Please sign in to comment.