-
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
base: master
Are you sure you want to change the base?
[feat] refactor embedding group input tile and dense embedding collection #75
Conversation
kt = batch.dense_features[key + "_item"] | ||
kt_keys.extend(kt.keys()) | ||
kt_length_per_key.extend(kt.length_per_key()) | ||
kt_values.append(kt.values().tile(batch.batch_size, 1)) |
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.
怎么item 也tile了?
if input_tile_emb: | ||
sparse_feat_kjt = batch.sparse_features[key + "_item"] | ||
else: | ||
sparse_feat_kjt = batch.sparse_features[key] |
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.
sparse 之前是有改成key_item/key_user 的,这个是再那里合并的
else: | ||
sparse_feat_kjt = batch.sparse_features[key] | ||
|
||
sparse_feat_kjt = batch.sparse_features[key] |
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时,时区分key_item的
No description provided.