Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

sparse_embedding使用 #64256

Open
zhangxiaokai111 opened this issue May 13, 2024 · 3 comments
Open

sparse_embedding使用 #64256

zhangxiaokai111 opened this issue May 13, 2024 · 3 comments
Assignees
Labels

Comments

@zhangxiaokai111
Copy link

请提出你的问题 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?

@cxxly
Copy link
Contributor

cxxly commented May 14, 2024

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

@zhangxiaokai111
Copy link
Author

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

@zhangxiaokai111
Copy link
Author

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants