shelson-woo

Results 3 issues of shelson-woo

你好,请问一下,在你构建序列特征attention 部分时,看到你写了个din_feature_column.py, 你是想用feature_column 的方法构建序列特征么?但是我看你实现的时候确是下面的代码。 last_click_creativeid = tf.string_to_hash_bucket_fast(features["user_click_creatives_att"], 200000) creativeid_embeddings = tf.get_variable(name="attention_creativeid_embeddings", dtype=tf.float32, shape=[200000, 20]) last_click_creativeid_emb = tf.nn.embedding_lookup(creativeid_embeddings, last_click_creativeid) att_creativeid = tf.string_to_hash_bucket_fast(features["creative_id_att"], 200000) creativeid_emb = tf.nn.embedding_lookup(creativeid_embeddings, att_creativeid)