The returned dictionary can be used as arg 'features' in
tf.io.parse_example.
Typical usage example:
# Define features and transformationsfeature_a=categorical_column_with_vocabulary_file(...)feature_b=numeric_column(...)feature_c_bucketized=bucketized_column(numeric_column("feature_c"),...)feature_a_x_feature_c=crossed_column(columns=["feature_a",feature_c_bucketized],...)feature_columns=set([feature_b,feature_c_bucketized,feature_a_x_feature_c])features=tf.io.parse_example(serialized=serialized_examples,features=make_parse_example_spec(feature_columns))
For the above example, make_parse_example_spec would return the dict:
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Missing the information I need","missingTheInformationINeed","thumb-down"],["Too complicated / too many steps","tooComplicatedTooManySteps","thumb-down"],["Out of date","outOfDate","thumb-down"],["Samples / code issue","samplesCodeIssue","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2023-10-06 UTC."],[],[]]