PaddlePaddle / Paddle

PArallel Distributed Deep LEarning: Machine Learning Framework from Industrial Practice (『飞桨』核心框架,深度学习&机器学习高性能单机、分布式训练和跨平台部署)

Home Page:http://www.paddlepaddle.org/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

sparse_embedding使用

zhangxiaokai111 opened this issue · comments

请提出你的问题 Please ask your question

(1)https://www.paddlepaddle.org.cn/documentation/docs/zh/api/paddle/static/nn/sparse_embedding_cn.html#daimashili
训练的时候is_test=True?

看API描述是的,不过参数命名确实容易歧意。是遇到什么问题了吗。另外建议使用 https://www.paddlepaddle.org.cn/documentation/docs/zh/api/paddle/nn/functional/embedding_cn.html#embedding,通过sparse参数控制是否稀疏更新

如果稀疏更新,那么设置为true

如果稀疏不更新,设置false? 默认是false?