Skip to content

Conversation

Echo-Nie
Copy link
Collaborator

@Echo-Nie Echo-Nie commented Oct 3, 2025

Copy link

paddle-bot bot commented Oct 3, 2025

感谢你贡献飞桨文档,文档预览构建中,Docs-New 跑完后即可预览,预览链接:http://preview-pr-7517.paddle-docs-preview.paddlepaddle.org.cn/documentation/docs/zh/api/index_cn.html
预览工具的更多说明,请参考:飞桨文档预览工具

Copy link

github-actions bot commented Oct 9, 2025

📚 本次 PR 文档预览链接 (点击展开)

以下是本次 PR 中变更文档的预览链接:

  • docs/api/paddle/static/nn/sparse_embedding_cn.rst: 点击预览

- **entry** (str,可选) - 准入策略配置,目前支持概率准入 ProbabilityEntry、频次准入 CountFilterEntry 和曝光点击准入 ShowClickEntry。默认为 None。
- **table_class** (str,可选) - 稀疏表的类型,其值可以为 CommonSparseTable、SSDSparseTableMemorySparseTable。默认为 CommonSparseTable
- **param_attr** (ParamAttr,可选) - 指定权重参数属性的对象。默认值为 None,表示使用默认的权重参数属性。具体用法请参见 :ref:`cn_api_paddle_ParamAttr` 。此外,可以通过 ``param_attr`` 参数加载用户自定义或预训练的词向量。只需将本地词向量转为 numpy 数据格式,且保证本地词向量的 shape 和 embedding 的 ``size`` 参数一致,然后使用 :ref:`cn_api_paddle_to_tensor` 进行初始化,即可实现加载自定义或预训练的词向量。
- **table_class** (str,可选) - 稀疏表的类型,其值可以为 MemorySparseTableSSDSparseTable。默认为 MemorySparseTable
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

contributor HappyOpenSource 快乐开源活动issue与PR

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants