sparse_embedding使用
zhangxiaokai111 opened this issue · comments
zhangxiaokai111 commented
请提出你的问题 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?
Xiaoxu Chen commented
看API描述是的,不过参数命名确实容易歧意。是遇到什么问题了吗。另外建议使用 https://www.paddlepaddle.org.cn/documentation/docs/zh/api/paddle/nn/functional/embedding_cn.html#embedding,通过sparse参数控制是否稀疏更新
zhangxiaokai111 commented
如果稀疏更新,那么设置为true
zhangxiaokai111 commented
如果稀疏不更新,设置false? 默认是false?