提交 1e9aaf2d 编写于 作者: Q Qiao Longfei

fix typo

上级 759425ad
...@@ -18,7 +18,7 @@ def ctr_dnn_model(embedding_size, sparse_feature_dim): ...@@ -18,7 +18,7 @@ def ctr_dnn_model(embedding_size, sparse_feature_dim):
is_sparse=True, is_sparse=True,
is_distributed=True, is_distributed=True,
size=[sparse_feature_dim, embedding_size], 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) sparse_embed_seq = map(embedding_layer, sparse_input_ids)
concated = fluid.layers.concat(sparse_embed_seq + [dense_input], axis=1) concated = fluid.layers.concat(sparse_embed_seq + [dense_input], axis=1)
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册