diff --git a/fluid/PaddleRec/ctr/network_conf.py b/fluid/PaddleRec/ctr/network_conf.py index c1eb1bedf7594fa70e1f6be4aada718dc929e630..2353c37dd789316d79ec745a654e751b1589939e 100644 --- a/fluid/PaddleRec/ctr/network_conf.py +++ b/fluid/PaddleRec/ctr/network_conf.py @@ -18,7 +18,7 @@ def ctr_dnn_model(embedding_size, sparse_feature_dim): is_sparse=True, is_distributed=True, size=[sparse_feature_dim, embedding_size], - param_attr=fluid.ParamAttr(name="SparseFeatFactors", initializer=fluid.initializer.fluid.initializer.Uniform())) + param_attr=fluid.ParamAttr(name="SparseFeatFactors", initializer=fluid.initializer.Uniform())) sparse_embed_seq = map(embedding_layer, sparse_input_ids) concated = fluid.layers.concat(sparse_embed_seq + [dense_input], axis=1)