Skip to content

Commit

Permalink
[Fix] Prefix bit should be in the upper bit.
Browse files Browse the repository at this point in the history
  • Loading branch information
MoFHeka authored and rhdong committed Jan 6, 2025
1 parent e1be08e commit e75f868
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -419,7 +419,7 @@ def call(self, features):
boundaries=fea_info['boundaries'])(input_tensor)
# To prepare for GPU table combined queries, use a prefix to distinguish different features in a table.
if fea_info['ptype'] == 'user_occupation_label':
input_tensor_prefix_code = int(fea_info['code']) << 1
input_tensor_prefix_code = int(fea_info['code']) << 48
else:
input_tensor_prefix_code = None
if input_tensor_prefix_code is not None:
Expand Down

0 comments on commit e75f868

Please sign in to comment.