Skip to content

Commit

Permalink
remove input
Browse files Browse the repository at this point in the history
  • Loading branch information
lgqfhwy committed Dec 20, 2023
1 parent 7fc27b8 commit 50008dc
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions easy_rec/python/input/input.py
Original file line number Diff line number Diff line change
Expand Up @@ -423,10 +423,7 @@ def _get_input_sep(input_id):
def _parse_tag_feature(self, fc, parsed_dict, field_dict):
input_0 = fc.input_names[0]
feature_name = fc.feature_name if fc.HasField('feature_name') else input_0
print('field_dict = ', field_dict, ', input_0 = ', input_0, ', value = ',
field_dict[input_0])
field = field_dict[input_0]
field = tf.Print(field, [field], message='field=')
# Construct the output of TagFeature according to the dimension of field_dict.
# When the input field exceeds 2 dimensions, convert TagFeature to 2D output.
if len(field.get_shape()) < 2 or field.get_shape()[-1] == 1:
Expand Down

0 comments on commit 50008dc

Please sign in to comment.