Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion docs/api/paddle/hub/help_cn.rst
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ help
- **repo_dir** (str) - repo 地址,支持 git 地址形式和 local 地址。git 地址由 repo 拥有者/repo 名字:repo 分支组成,实例:PaddlePaddle/PaddleClas:develop;local 地址为 repo 的本地路径。
- **model** (str) - 模型的名字。
- **source** (str,可选) - 指定 repo 托管的位置,支持 github、gitee 和 local,默认值:github。
- **force_reload** (bool,可选) - 指定是否强制拉取,默认值: False。
- **force_reload** (bool,可选) - 指定是否强制拉取,默认值False。

返回
:::::::::
Expand Down
2 changes: 1 addition & 1 deletion docs/api/paddle/hub/list_cn.rst
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ list

- **repo_dir** (str) - repo 地址,支持 git 地址形式和 local 地址。git 地址由 repo 拥有者/repo 名字:repo 分支组成,实例:PaddlePaddle/PaddleClas:develop;local 地址为 repo 的本地路径。
- **source** (str,可选) - 指定 repo 托管的位置,支持 github、gitee 和 local,默认值:github。
- **force_reload** (bool,可选) - 指定是否强制拉取,默认值: False。
- **force_reload** (bool,可选) - 指定是否强制拉取,默认值False。


返回
Expand Down
4 changes: 2 additions & 2 deletions docs/api/paddle/hub/load_cn.rst
Original file line number Diff line number Diff line change
Expand Up @@ -12,9 +12,9 @@ load
:::::::::

- **repo_dir** (str) - repo 地址,支持 git 地址形式和 local 地址。git 地址由 repo 拥有者/repo 名字:repo 分支组成,实例:PaddlePaddle/PaddleClas:develop;local 地址为 repo 的本地路径。
- **model** (str)- 模型的名字。
- **model** (str) - 模型的名字。
- **source** (str,可选) - 指定 repo 托管的位置,支持 github、gitee 和 local,默认值:github。
- **force_reload** (bool,可选) - 指定是否强制拉取,默认值: False。
- **force_reload** (bool,可选) - 指定是否强制拉取,默认值False。
Copy link

Copilot AI Mar 1, 2026

Choose a reason for hiding this comment

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

PR 描述里写的是将 默认值: False 改为 默认值:False(仍是英文冒号 :),但实际文档修改为 默认值:False(中文冒号 )。为避免审查者/自动检查器理解偏差,建议同步修正 PR 描述中的示例与说明,使其与实际变更一致。

Copilot uses AI. Check for mistakes.
Copy link
Collaborator Author

Choose a reason for hiding this comment

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

pr 描述错了,可恶呐

Copy link
Collaborator

Choose a reason for hiding this comment

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

@cutetocute 小bot还自己approve上了??

- **\*\*kwargs** (any,可选) - 模型参数。

返回
Expand Down