Skip to content

Commit

Permalink
Merge branch 'aki-rm-cuda-sync' of https://github.com/pyg-team/pytorc…
Browse files Browse the repository at this point in the history
…h-frame into aki-rm-cuda-sync
  • Loading branch information
akihironitta committed Aug 10, 2024
2 parents 95869bc + e187f03 commit a324a6c
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion torch_frame/nn/encoder/stype_encoder.py
Original file line number Diff line number Diff line change
Expand Up @@ -716,7 +716,9 @@ def __init__(
def init_modules(self) -> None:
super().init_modules()
num_cols = len(self.stats_list)
self.emb_dim_list = [stats[StatType.EMB_DIM] for stats in self.stats_list]
self.emb_dim_list = [
stats[StatType.EMB_DIM] for stats in self.stats_list
]
self.weight_list = ParameterList([
Parameter(torch.empty(emb_dim, self.out_channels))
for emb_dim in self.emb_dim_list
Expand Down

0 comments on commit a324a6c

Please sign in to comment.