diff --git a/fluid/PaddleRec/ctr/network_conf.py b/fluid/PaddleRec/ctr/network_conf.py index bde454f6e219693ba11752f07ea2a1e92b84fab3..7533f226c3352c961c44d99361dedbde9cd94661 100644 --- a/fluid/PaddleRec/ctr/network_conf.py +++ b/fluid/PaddleRec/ctr/network_conf.py @@ -9,7 +9,7 @@ def ctr_dnn_model(embedding_size, sparse_feature_dim, extend_id_range=False): name="dense_input", shape=[dense_feature_dim], dtype='float32') sparse_feature_num = 26 if extend_id_range: - sparse_feature_num = 26 + 26 * 25 + sparse_feature_num = 26 + 26 * 25 / 2 sparse_input_ids = [ fluid.layers.data( name="C" + str(i), shape=[1], lod_level=1, dtype='int64')