-
Notifications
You must be signed in to change notification settings - Fork 15
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[feat] refactor embedding group input tile and dense embedding collection #75
[feat] refactor embedding group input tile and dense embedding collection #75
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
这个改动是为什么? 如果在input-tile=3的情况下,item 已经被等同于 origin的了,那修改的也应该是write_mapping_file_for_input_tile
item_kt = batch.dense_features.get(key + "_item", None) | ||
if user_kt is not None or item_kt is not None: | ||
batch.dense_features[key] = _tile_and_combine_dense_kt( | ||
user_kt, item_kt, batch.batch_size |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
把dense 的user/item 合并起来,这个会增加一定的计算量
emb_bag_config=emb_bag_config, | ||
if need_input_tile_emb and feature.is_user_feat: | ||
_add_embedding_bag_config( | ||
emb_bag_configs=mc_emb_bag_configs_user |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
mc_emb_bag_configs_user 又是什么?
) | ||
kts.append(non_emb_dense_features) | ||
|
||
kts.append(self.dense_ec(dense_feature)) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
dense_ec 又是什么
No description provided.