626da74d11a696d87c54cf935b847335c442b18f,spotlight/factorization/representations.py,BilinearNet,forward,#BilinearNet#Any#Any#,44
Before Change
item_embedding = self.item_embeddings(item_ids)
user_embedding = user_embedding.view(-1, self.embedding_dim)
item_embedding = item_embedding.view(-1, self.embedding_dim)
user_bias = self.user_biases(user_ids).view(-1, 1)
item_bias = self.item_biases(item_ids).view(-1, 1)
After Change
user_embedding = self.user_embeddings(user_ids)
item_embedding = self.item_embeddings(item_ids)
user_embedding = user_embedding.squeeze()
item_embedding = item_embedding.squeeze()
user_bias = self.user_biases(user_ids).squeeze()
item_bias = self.item_biases(item_ids).squeeze()
In pattern: SUPERPATTERN
Frequency: 3
Non-data size: 3
Instances
Project Name: maciejkula/spotlight
Commit Name: 626da74d11a696d87c54cf935b847335c442b18f
Time: 2017-08-06
Author: maciej.kula@gmail.com
File Name: spotlight/factorization/representations.py
Class Name: BilinearNet
Method Name: forward
Project Name: maciejkula/spotlight
Commit Name: 70e4d7fe60a9658bb27b9f5fb67592a1222b2ec3
Time: 2017-07-06
Author: maciej.kula@gmail.com
File Name: spotlight/sequence/representations.py
Class Name: LSTMNet
Method Name: user_representation
Project Name: maciejkula/spotlight
Commit Name: 70e4d7fe60a9658bb27b9f5fb67592a1222b2ec3
Time: 2017-07-06
Author: maciej.kula@gmail.com
File Name: spotlight/sequence/representations.py
Class Name: CNNNet
Method Name: user_representation