Skip to content

Commit

Permalink
Update simplex.py
Browse files Browse the repository at this point in the history
  • Loading branch information
zhengbw0324 authored Aug 28, 2024
1 parent 14430b3 commit f049480
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion recbole/model/general_recommender/simplex.py
Original file line number Diff line number Diff line change
Expand Up @@ -74,7 +74,7 @@ def __init__(self, config, dataset):
if self.aggregator == "self_attention":
self.W_q = nn.Linear(self.embedding_size, 1, bias=False)
# dropout
self.dropout_prob = nn.Dropout(config["dropout_prob"])
self.dropout = nn.Dropout(config["dropout_prob"])
self.require_pow = config["require_pow"]
# l2 regularization loss
self.reg_loss = EmbLoss()
Expand Down

0 comments on commit f049480

Please sign in to comment.