Skip to content

Commit

Permalink
Update stid_arch.py
Browse files Browse the repository at this point in the history
Fix bugs in Issue #7 .
  • Loading branch information
zezhishao committed Jun 12, 2023
1 parent fef4ebc commit f9801a5
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions stid/stid_arch/stid_arch.py
Original file line number Diff line number Diff line change
Expand Up @@ -51,8 +51,8 @@ def __init__(self, **model_args):

# encoding
self.hidden_dim = self.embed_dim+self.node_dim * \
int(self.if_spatial)+self.temp_dim_tid*int(self.if_day_in_week) + \
self.temp_dim_diw*int(self.if_time_in_day)
int(self.if_spatial)+self.temp_dim_tid*int(self.if_time_in_day) + \
self.temp_dim_diw*int(self.if_day_in_week)
self.encoder = nn.Sequential(
*[MultiLayerPerceptron(self.hidden_dim, self.hidden_dim) for _ in range(self.num_layer)])

Expand Down

0 comments on commit f9801a5

Please sign in to comment.