基于tensorflow中的另一个特征列创建稀疏列

时间:2018-08-24 01:07:04

标签: python tensorflow

我想在bucketized_column顶部使用tf.contrib.layers.sparse_column_with_integerized_feature,有什么办法吗?

似乎该类仅接受feature_dict中的column_name作为初始参数:

tf.contrib.layers.sparse_column_with_integerized_feature(
    column_name,
    bucket_size,
    combiner='sum',
    dtype=tf.int64
)

0 个答案:

没有答案