We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent bb32d7b commit 8bcb4a0Copy full SHA for 8bcb4a0
official/recommendation/ranking/task.py
@@ -70,7 +70,10 @@ def _get_tpu_embedding_feature_config(
70
mean=0.0, stddev=1 / math.sqrt(embedding_dim[i])),
71
name=table_name_prefix + '_%02d' % i)
72
feature_config[str(i)] = tf.tpu.experimental.embedding.FeatureConfig(
73
- table=table_config, output_shape=[batch_size] if batch_size else None)
+ name=str(i),
74
+ table=table_config,
75
+ output_shape=[batch_size] if batch_size else None,
76
+ )
77
78
return feature_config
79
0 commit comments