Skip to content

Commit

Permalink
Merge pull request #2079 from zhengbw0324/master
Browse files Browse the repository at this point in the history
Update simplex.py
  • Loading branch information
zhengbw0324 authored Aug 28, 2024
2 parents 29bbe4c + f049480 commit d64724a
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 d64724a

Please sign in to comment.